Do healthchecking with the user

This commit is contained in:
decentral1se 2021-05-28 13:58:19 +02:00
parent 213364b88a
commit 4bc975781e
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -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: