Skip to content

Commit

Permalink
Changed healthcheck.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-kondratov committed Aug 19, 2024
1 parent 1a95dbd commit ebba9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
image: postgres:16.4-bookworm
env_file: ./server.env
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-q", "-d", "${POSTGRES_DB}", "-U", "${POSTGRES_USER}"]
test: ["CMD-SHELL", "pg_isready", "-q", "-d", "$$POSTGRES_DB", "-U", "$$POSTGRES_USER"]
interval: 1m
timeout: 5s
retries: 10
Expand Down

0 comments on commit ebba9c3

Please sign in to comment.