From 1deb6a39187500c72fe57dae7e8e751fded4f1af Mon Sep 17 00:00:00 2001 From: k Date: Tue, 21 Apr 2026 20:17:50 +0800 Subject: [PATCH] correct healthcheck of database --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b08665d..8b8352d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: volumes: - postgres_data:/var/lib/postgresql/data healthcheck: - test: ["CMD-SHELL", "pg_isready -U trumpsignal -d trumpsignal"] + test: ["CMD-SHELL", "pg_isready -U $SERVICE_USER_POSTGRES -d trumpsignal"] interval: 5s timeout: 5s retries: 20 # up to 100s total wait