chore(docker): add integrations service and Odoo config
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,12 +45,11 @@ NODE_ENV=production
|
||||
WS_PORT=3001
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Odoo (Opcional)
|
||||
# Odoo Integration
|
||||
# -----------------------------------------------------------------------------
|
||||
# Configurar después de instalar
|
||||
ODOO_URL=https://odoo.tuempresa.com
|
||||
ODOO_DB=production
|
||||
ODOO_USER=api-whatsapp@tuempresa.com
|
||||
ODOO_URL=https://tu-empresa.odoo.com
|
||||
ODOO_DB=nombre_base_datos
|
||||
ODOO_USER=usuario@empresa.com
|
||||
ODOO_API_KEY=
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@@ -95,6 +95,7 @@ services:
|
||||
DEEPSEEK_API_KEY: ${DEEPSEEK_API_KEY:-}
|
||||
DEEPSEEK_MODEL: ${DEEPSEEK_MODEL:-deepseek-chat}
|
||||
DEEPSEEK_BASE_URL: ${DEEPSEEK_BASE_URL:-https://api.deepseek.com}
|
||||
INTEGRATIONS_URL: http://integrations:8002
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -103,6 +104,24 @@ services:
|
||||
networks:
|
||||
- wac_network
|
||||
|
||||
integrations:
|
||||
build:
|
||||
context: ./services/integrations
|
||||
dockerfile: Dockerfile
|
||||
container_name: wac_integrations
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
ODOO_URL: ${ODOO_URL:-}
|
||||
ODOO_DB: ${ODOO_DB:-}
|
||||
ODOO_USER: ${ODOO_USER:-}
|
||||
ODOO_API_KEY: ${ODOO_API_KEY:-}
|
||||
API_GATEWAY_URL: http://api-gateway:8000
|
||||
FLOW_ENGINE_URL: http://flow-engine:8001
|
||||
ports:
|
||||
- "8002:8002"
|
||||
networks:
|
||||
- wac_network
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
|
||||
Reference in New Issue
Block a user