File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 3232 POSTGRES_USER : testuser
3333 POSTGRES_PASSWORD : testpass
3434 POSTGRES_DB : testdb
35- POSTGRES_INITDB_ARGS : " -c max_connections=300"
35+ # As of v16 we can use:
36+ # POSTGRES_INITDB_ARGS: "-c max_connections=300"
3637 options : >-
3738 --health-cmd="pg_isready -U testuser"
3839 --health-interval=10s
8586 - name : Create SQLServer database
8687 run : |
8788 /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'YourStrong@Passw0rd' -Q "CREATE DATABASE [Whatever];"
89+ - name :
90+ Increase max connections (Postgre SQL).
91+ # Postgre < 16 cannot adjust it using env vars
92+ run : |
93+ docker exec postgres bash -c "echo \"max_connections = 300\" >> /var/lib/postgresql/data/postgresql.conf"
94+ docker restart postgres
95+ sleep 5
8896 - name : Create Oracle user
8997 run : |
9098 sql sys/adfkweflajdfglkj@localhost/FREEPDB1 as sysdba <<EOF
You can’t perform that action at this time.
0 commit comments