generated from coop-cloud/example
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:
|
||||
|
|
Reference in New Issue