We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a83170 commit 1dce417Copy full SHA for 1dce417
docker-compose.yaml
@@ -19,7 +19,7 @@ services:
19
- POSTGRES_USER=${POSTGRES_USER}
20
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
21
healthcheck:
22
- test: ["CMD-SHELL", "pg_isready -U postgres"]
+ test: ["CMD-SHELL", "pg_isready -U $POSTGRES_USER -d $POSTGRES_DB"]
23
start_period: 1m
24
volumes:
25
- psql:/var/lib/postgresql/data
0 commit comments