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: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 1 additions and 1 deletions

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: