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
|
WS_PORT=3001
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Odoo (Opcional)
|
# Odoo Integration
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Configurar después de instalar
|
ODOO_URL=https://tu-empresa.odoo.com
|
||||||
ODOO_URL=https://odoo.tuempresa.com
|
ODOO_DB=nombre_base_datos
|
||||||
ODOO_DB=production
|
ODOO_USER=usuario@empresa.com
|
||||||
ODOO_USER=api-whatsapp@tuempresa.com
|
|
||||||
ODOO_API_KEY=
|
ODOO_API_KEY=
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ services:
|
|||||||
DEEPSEEK_API_KEY: ${DEEPSEEK_API_KEY:-}
|
DEEPSEEK_API_KEY: ${DEEPSEEK_API_KEY:-}
|
||||||
DEEPSEEK_MODEL: ${DEEPSEEK_MODEL:-deepseek-chat}
|
DEEPSEEK_MODEL: ${DEEPSEEK_MODEL:-deepseek-chat}
|
||||||
DEEPSEEK_BASE_URL: ${DEEPSEEK_BASE_URL:-https://api.deepseek.com}
|
DEEPSEEK_BASE_URL: ${DEEPSEEK_BASE_URL:-https://api.deepseek.com}
|
||||||
|
INTEGRATIONS_URL: http://integrations:8002
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -103,6 +104,24 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- wac_network
|
- 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:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
|
|||||||
Reference in New Issue
Block a user