0
0

dbヘルスチェックでFATALの表示が出ないように (#9593)

This commit is contained in:
A.Yamamoto 2023-01-15 20:54:20 +09:00 committed by GitHub
parent 81f11d8f86
commit 3e9f88506e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ services:
volumes: volumes:
- ./db:/var/lib/postgresql/data - ./db:/var/lib/postgresql/data
healthcheck: healthcheck:
test: "pg_isready" test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
interval: 5s interval: 5s
retries: 20 retries: 20