fix: use correct user, role does exist

This commit is contained in:
decentral1se 2023-01-08 01:59:46 +01:00
parent 1a0211b743
commit 77b3dbdaa9
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
4 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ services:
networks: networks:
- internal - internal
healthcheck: healthcheck:
test: ["CMD", "pg_isready"] test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ]
volumes: volumes:
- discord-postgres:/var/lib/postgresql/data - discord-postgres:/var/lib/postgresql/data

View File

@ -13,7 +13,7 @@ services:
image: docker.io/signald/signald:0.23.0-non-root image: docker.io/signald/signald:0.23.0-non-root
networks: networks:
- internal - internal
volumes: volumes:
- signald-data:/signald - signald-data:/signald
signalbridge: signalbridge:
@ -54,7 +54,7 @@ services:
networks: networks:
- internal - internal
healthcheck: healthcheck:
test: ["CMD", "pg_isready"] test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ]
volumes: volumes:
- signal-postgres:/var/lib/postgresql/data - signal-postgres:/var/lib/postgresql/data

View File

@ -52,7 +52,7 @@ services:
networks: networks:
- internal - internal
healthcheck: healthcheck:
test: ["CMD", "pg_isready"] test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ]
volumes: volumes:
- telegram-postgres:/var/lib/postgresql/data - telegram-postgres:/var/lib/postgresql/data

View File

@ -77,7 +77,7 @@ services:
networks: networks:
- internal - internal
healthcheck: healthcheck:
test: ["CMD", "pg_isready"] test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ]
volumes: volumes:
- postgres:/var/lib/postgresql/data - postgres:/var/lib/postgresql/data
deploy: deploy: