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