From 00e841ad3f19988132a0f15182932253ff91ae20 Mon Sep 17 00:00:00 2001 From: Carlos Escalante Date: Tue, 14 Jul 2026 18:50:28 -0600 Subject: [PATCH] Use unique backend alias for assistant --- docker-compose.prod.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index aee20ea..c005bc8 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -37,7 +37,11 @@ services: expose: - "8000" networks: - - wealthysmart-network + wealthysmart-network: + # Avoid the generic `backend` name, which is also used on the shared + # nginx network by another application. + aliases: + - wealthysmart-api depends_on: db: condition: service_healthy @@ -59,9 +63,8 @@ services: restart: unless-stopped environment: NODE_ENV: production - # Compose service names are the stable DNS names on this network. - BACKEND_URL: http://backend:8000 - AGENT_URL: http://backend:8000/api/v1/agent/agui + BACKEND_URL: http://wealthysmart-api:8000 + AGENT_URL: http://wealthysmart-api:8000/api/v1/agent/agui JWT_SECRET: ${SECRET_KEY} COOKIE_DOMAIN: wealth.cescalante.dev COOKIE_SECURE: "true"