Skip to content

Commit

Permalink
Fix database healthcheck from cmd-exec to cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed May 14, 2024
1 parent b14b676 commit bf943a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:?Variable not set}
- SECRET_KEY=${SECRET_KEY:?Variable not set}
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "tad"]
test: ["CMD", "pg_isready", "-q", "-d", "tad", "-U", "tad"]
start_period: 3s


Expand Down

0 comments on commit bf943a9

Please sign in to comment.