workspace-v1/projects/erp-suite/docker/docker-compose.prod.yml
rckrdmrd 66161b1566 feat: Workspace-v1 complete migration with NEXUS v3.4
Sistema NEXUS v3.4 migrado con:

Estructura principal:
- core/orchestration: Sistema SIMCO + CAPVED (27 directivas, 28 perfiles)
- core/catalog: Catalogo de funcionalidades reutilizables
- shared/knowledge-base: Base de conocimiento compartida
- devtools/scripts: Herramientas de desarrollo
- control-plane/registries: Control de servicios y CI/CD
- orchestration/: Configuracion de orquestacion de agentes

Proyectos incluidos (11):
- gamilit (submodule -> GitHub)
- trading-platform (OrbiquanTIA)
- erp-suite con 5 verticales:
  - erp-core, construccion, vidrio-templado
  - mecanicas-diesel, retail, clinicas
- betting-analytics
- inmobiliaria-analytics
- platform_marketing_content
- pos-micro, erp-basico

Configuracion:
- .gitignore completo para Node.js/Python/Docker
- gamilit como submodule (git@github.com:rckrdmrd/gamilit-workspace.git)
- Sistema de puertos estandarizado (3005-3199)

Generated with NEXUS v3.4 Migration System
EPIC-010: Configuracion Git y Repositorios
2026-01-04 03:37:42 -06:00

144 lines
3.7 KiB
YAML

version: '3.8'
# =============================================================================
# ERP-SUITE - Production Docker Compose
# =============================================================================
# Servidor: 72.60.226.4
# Componentes: erp-core + verticales opcionales
# =============================================================================
services:
# ===========================================================================
# ERP-CORE
# ===========================================================================
erp-core-backend:
image: ${DOCKER_REGISTRY:-72.60.226.4:5000}/erp-core-backend:${VERSION:-latest}
container_name: erp-core-backend
restart: unless-stopped
ports:
- "3011:3011"
environment:
- NODE_ENV=production
env_file:
- ../apps/erp-core/backend/.env.production
volumes:
- erp-logs:/var/log/erp-core
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3011/health"]
interval: 30s
timeout: 10s
retries: 3
networks:
- erp-network
- isem-network
deploy:
resources:
limits:
cpus: '1'
memory: 512M
erp-core-frontend:
image: ${DOCKER_REGISTRY:-72.60.226.4:5000}/erp-core-frontend:${VERSION:-latest}
container_name: erp-core-frontend
restart: unless-stopped
ports:
- "3010:80"
depends_on:
erp-core-backend:
condition: service_healthy
networks:
- erp-network
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
# ===========================================================================
# VERTICALES (descomentar según necesidad)
# ===========================================================================
# CONSTRUCCION
# construccion-backend:
# image: ${DOCKER_REGISTRY}/erp-construccion-backend:${VERSION:-latest}
# container_name: erp-construccion-backend
# ports:
# - "3021:3021"
# env_file:
# - ../apps/verticales/construccion/backend/.env.production
# networks:
# - erp-network
# construccion-frontend:
# image: ${DOCKER_REGISTRY}/erp-construccion-frontend:${VERSION:-latest}
# container_name: erp-construccion-frontend
# ports:
# - "3020:80"
# networks:
# - erp-network
# VIDRIO-TEMPLADO
# vidrio-backend:
# image: ${DOCKER_REGISTRY}/erp-vidrio-backend:${VERSION:-latest}
# ports:
# - "3031:3031"
# vidrio-frontend:
# image: ${DOCKER_REGISTRY}/erp-vidrio-frontend:${VERSION:-latest}
# ports:
# - "3030:80"
# MECANICAS-DIESEL
# mecanicas-backend:
# image: ${DOCKER_REGISTRY}/erp-mecanicas-backend:${VERSION:-latest}
# ports:
# - "3041:3041"
# mecanicas-frontend:
# image: ${DOCKER_REGISTRY}/erp-mecanicas-frontend:${VERSION:-latest}
# ports:
# - "3040:80"
# RETAIL
# retail-backend:
# image: ${DOCKER_REGISTRY}/erp-retail-backend:${VERSION:-latest}
# ports:
# - "3051:3051"
# retail-frontend:
# image: ${DOCKER_REGISTRY}/erp-retail-frontend:${VERSION:-latest}
# ports:
# - "3050:80"
# CLINICAS
# clinicas-backend:
# image: ${DOCKER_REGISTRY}/erp-clinicas-backend:${VERSION:-latest}
# ports:
# - "3061:3061"
# clinicas-frontend:
# image: ${DOCKER_REGISTRY}/erp-clinicas-frontend:${VERSION:-latest}
# ports:
# - "3060:80"
# POS-MICRO
# pos-backend:
# image: ${DOCKER_REGISTRY}/erp-pos-backend:${VERSION:-latest}
# ports:
# - "3071:3071"
# pos-frontend:
# image: ${DOCKER_REGISTRY}/erp-pos-frontend:${VERSION:-latest}
# ports:
# - "3070:80"
volumes:
erp-logs:
networks:
erp-network:
driver: bridge
isem-network:
external: true
name: isem-network