Do healthchecking with the user
This commit is contained in:
parent
213364b88a
commit
4bc975781e
@ -7,7 +7,7 @@ services:
|
||||
networks: &internalNetwork
|
||||
- internal_network
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||
test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}"]
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
secrets:
|
||||
|
Loading…
Reference in New Issue
Block a user