File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,25 @@ services:
190190 - " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
191191 command : >
192192 -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
193+
194+ postgres_16_no_ssl :
195+ build :
196+ context : .
197+ dockerfile : postgres/Dockerfile
198+ args :
199+ VERSION : 16
200+ ports :
201+ - 5432
202+ environment :
203+ POSTGRES_DB : sqlx
204+ POSTGRES_USER : postgres
205+ POSTGRES_PASSWORD : password
206+ POSTGRES_HOST_AUTH_METHOD : scram-sha-256
207+ POSTGRES_INITDB_ARGS : --auth-host=scram-sha-256
208+ volumes :
209+ - " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
210+ command : >
211+ -c ssl=off
193212 #
194213 # Microsoft SQL Server (MSSQL)
195214 # https://hub.docker.com/_/microsoft-mssql-server
You can’t perform that action at this time.
0 commit comments