Skip to content

Commit 60c5cfa

Browse files
committed
Add tests for Postgres 15 + rebase
1 parent bd821b2 commit 60c5cfa

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/docker-compose.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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: .

0 commit comments

Comments
 (0)