File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,23 @@ services:
185185 command : >
186186 -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
187187
188+ postgres_15_client_ssl :
189+ build :
190+ context : .
191+ dockerfile : postgres/Dockerfile
192+ args :
193+ VERSION : 15
194+ ports :
195+ - 5432
196+ environment :
197+ POSTGRES_DB : sqlx
198+ POSTGRES_HOST_AUTH_METHOD : trust
199+ POSTGRES_INITDB_ARGS : --auth-host=trust
200+ volumes :
201+ - " ./postgres/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
202+ command : >
203+ -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key -c ssl_ca_file=/var/lib/postgresql/ca.crt -c hba_file=/var/lib/postgresql/pg_hba.conf
204+
188205 postgres_14 :
189206 build :
190207 context : .
You can’t perform that action at this time.
0 commit comments