fix log error from db health check
This commit is contained in:
parent
db4fd8018c
commit
ce095c65e5
@ -161,7 +161,7 @@ services:
|
|||||||
backupbot.backup.volumes.postgres_data.path: "backup.sql"
|
backupbot.backup.volumes.postgres_data.path: "backup.sql"
|
||||||
backupbot.restore.post-hook: '/pg_backup.sh restore'
|
backupbot.restore.post-hook: '/pg_backup.sh restore'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD-SHELL", "pg_isready" ]
|
test: [ "CMD-SHELL", "pg_isready -d $$POSTGRES_DB -U $$POSTGRES_USER" ]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user