mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-07-17 10:28:47 +02:00
Use unique backend alias for assistant
This commit is contained in:
@@ -37,7 +37,11 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- "8000"
|
- "8000"
|
||||||
networks:
|
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:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -59,9 +63,8 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
# Compose service names are the stable DNS names on this network.
|
BACKEND_URL: http://wealthysmart-api:8000
|
||||||
BACKEND_URL: http://backend:8000
|
AGENT_URL: http://wealthysmart-api:8000/api/v1/agent/agui
|
||||||
AGENT_URL: http://backend:8000/api/v1/agent/agui
|
|
||||||
JWT_SECRET: ${SECRET_KEY}
|
JWT_SECRET: ${SECRET_KEY}
|
||||||
COOKIE_DOMAIN: wealth.cescalante.dev
|
COOKIE_DOMAIN: wealth.cescalante.dev
|
||||||
COOKIE_SECURE: "true"
|
COOKIE_SECURE: "true"
|
||||||
|
|||||||
Reference in New Issue
Block a user