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