Files
conversation-layer/docker-compose.yml
2025-06-05 00:10:10 -06:00

58 lines
1.3 KiB
YAML

version: '3.9'
services:
openwa:
image: gitea.interno.com/nucleo000/nucleo-whatsapp:latest
container_name: nucleo-whatsapp
environment:
- PORT=8080
ports:
- "8080:8080"
volumes:
- nucleo_whatsapp_sessions:/sessions
networks:
- principal
whatsapp-router:
build: ./whatsapp-router
image: gitea.interno.com/nucleo000/whatsapp-router:latest
container_name: whatsapp-router
environment:
- OPEN_WA_URL=http://openwa:8080
- LLM_AGENT_URL=http://llm-agent:8000
- WEBHOOK_URL=http://whatsapp-router:3001/webhook
- NODE_ENV=production
ports:
- "3001:3001"
networks:
- principal
chat-ui:
build: ./chat-ui
image: gitea.interno.com/nucleo000/conversation-chat-ui:latest
container_name: conversation-chat-ui
environment:
- LLM_AGENT_URL=http://llm-agent:8000
ports:
- "3015:3000"
networks:
- principal
conversation-layer-agent:
build: ./conversation-layer-agent
image: gitea.interno.com/nucleo000/conversation-layer-agent:latest
container_name: conversation-layer-agent
environment:
- PORT=8001
- GEMINI_API_KEY=${GEMINI_API_KEY}
ports:
- "8001:8001"
networks:
- principal
volumes:
nucleo_whatsapp_sessions:
networks:
principal:
external: true