From 77b3dbdaa97e7746da3492b13c79c2792957fc7e Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 8 Jan 2023 01:59:46 +0100 Subject: [PATCH] fix: use correct user, role does exist --- compose.discord.yml | 2 +- compose.signal.yml | 4 ++-- compose.telegram.yml | 2 +- compose.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compose.discord.yml b/compose.discord.yml index 7021e52..84bc62d 100644 --- a/compose.discord.yml +++ b/compose.discord.yml @@ -43,7 +43,7 @@ services: networks: - internal healthcheck: - test: ["CMD", "pg_isready"] + test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ] volumes: - discord-postgres:/var/lib/postgresql/data diff --git a/compose.signal.yml b/compose.signal.yml index bce4052..94d8a28 100644 --- a/compose.signal.yml +++ b/compose.signal.yml @@ -13,7 +13,7 @@ services: image: docker.io/signald/signald:0.23.0-non-root networks: - internal - volumes: + volumes: - signald-data:/signald signalbridge: @@ -54,7 +54,7 @@ services: networks: - internal healthcheck: - test: ["CMD", "pg_isready"] + test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ] volumes: - signal-postgres:/var/lib/postgresql/data diff --git a/compose.telegram.yml b/compose.telegram.yml index f2618fb..54c94bb 100644 --- a/compose.telegram.yml +++ b/compose.telegram.yml @@ -52,7 +52,7 @@ services: networks: - internal healthcheck: - test: ["CMD", "pg_isready"] + test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ] volumes: - telegram-postgres:/var/lib/postgresql/data diff --git a/compose.yml b/compose.yml index 4846d35..525a980 100644 --- a/compose.yml +++ b/compose.yml @@ -77,7 +77,7 @@ services: networks: - internal healthcheck: - test: ["CMD", "pg_isready"] + test: ["CMD", "pg_isready", "-U", "$POSTGRES_USER" ] volumes: - postgres:/var/lib/postgresql/data deploy: