Skip to content

Commit a8f5a7c

Browse files
committed
fix: correct postgres docker healthcheck
since this is only for development we can use the default user instead of expecting the user to be set via env variable
1 parent 0d92df0 commit a8f5a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.with_db.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
networks:
2525
- ebicsbox_network
2626
healthcheck:
27-
test: ["CMD-SHELL", "pg_isready -U $POSTGRES_USER"]
27+
test: ["CMD-SHELL", "pg_isready", "-U", "postgres"]
2828
interval: 10s
2929
timeout: 5s
3030
retries: 5
@@ -40,7 +40,7 @@ services:
4040
networks:
4141
- ebicsbox_network
4242
healthcheck:
43-
test: ["CMD-SHELL", "pg_isready -U $POSTGRES_USER"]
43+
test: ["CMD-SHELL", "pg_isready", "-U", "postgres"]
4444
interval: 10s
4545
timeout: 5s
4646
retries: 5

0 commit comments

Comments
 (0)