From 02fd3c0aeacaf16b2570b6c2ba47b2c91d3a0d89 Mon Sep 17 00:00:00 2001 From: Kharec Date: Thu, 25 Dec 2025 18:40:51 +0100 Subject: [PATCH] fix: make it env agnostic (--env-file should be used) --- docker/compose.prod.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/compose.prod.yml b/docker/compose.prod.yml index e934f6e..977fa89 100644 --- a/docker/compose.prod.yml +++ b/docker/compose.prod.yml @@ -4,8 +4,6 @@ services: depends_on: db: condition: service_healthy - env_file: - - ../.env environment: DB_HOST: db DB_PORT: ${DB_PORT:-5432} @@ -26,7 +24,11 @@ services: ports: - "8080:8080" healthcheck: - test: ["CMD-SHELL", "curl -fsS http://localhost:${SERVER_PORT:-8080}/health | grep -q '\"status\":\"healthy\"'"] + test: + [ + "CMD-SHELL", + 'curl -fsS http://localhost:${SERVER_PORT:-8080}/health | grep -q ''"status":"healthy"''', + ] interval: 10s timeout: 5s retries: 5