mirror of
https://github.com/logos-messaging/logos-messaging-nim-compose.git
synced 2026-01-07 16:33:09 +00:00
docker-compose.yml: pass user and database name when calling pg_isready
The postgres container, within the docker-compose file, starts an internal healthcheck. In this commit we are avoiding the following message to appear: << FATAL: role "root" does not exist >>
This commit is contained in:
parent
4611f1308a
commit
c89d931a85
@ -122,7 +122,7 @@ services:
|
||||
ports: []
|
||||
# - 127.0.0.1:5432:5432
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d db_prod"]
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
||||
interval: 30s
|
||||
timeout: 60s
|
||||
retries: 5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user