From a53e1cec0fba3659379b4f114ecb06ba495fb4fd Mon Sep 17 00:00:00 2001 From: Marcelo Date: Mon, 22 Jun 2026 12:02:24 -0300 Subject: [PATCH] fix(compose): set EVO_AUTH_BASE_URL on evo-processor (EVO-1683) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Processor caía no default localhost:3001 e retornava 503 ao validar token, pois o bloco environment não definia EVO_AUTH_BASE_URL e o serviço de auth não estava em depends_on. Alinha com evo-core (EVO_AUTH_SERVICE_URL). Co-Authored-By: Claude Opus 4.7 --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index a6597e9d..8b8a31c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -229,6 +229,7 @@ services: PORT: "8000" EVO_AI_CRM_URL: http://evo-crm:3000 CORE_SERVICE_URL: http://evo-core:5555/api/v1 + EVO_AUTH_BASE_URL: http://evo-auth:3001 volumes: - processor_logs:/app/logs depends_on: @@ -236,6 +237,8 @@ services: condition: service_healthy redis: condition: service_healthy + evo-auth: + condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s