mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-07-17 10:08:46 +02:00
Use unique backend alias for assistant
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user