Skip to content

Commit

Permalink
fix: postgresql healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Jul 19, 2024
1 parent e034874 commit e9a03e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
volumes:
- ${VOLUME_DIR}/postgresql/data:/var/lib/postgresql/data
healthcheck:
test: "pg_isready"
test: "pg_isready -q -U $$POSTGRES_USER"
interval: 10s
timeout: 5s
retries: 3
Expand Down

0 comments on commit e9a03e1

Please sign in to comment.