187 lines
5.2 KiB
YAML
187 lines
5.2 KiB
YAML
# =============================================================================
|
|
# PROJECT-ENV-CONFIG.yml - ERP-SUITE (CONTENEDOR)
|
|
# =============================================================================
|
|
# erp-suite es un CONTENEDOR de proyectos, NO un proyecto individual
|
|
# Actualizado: 2025-12-08
|
|
# Referencia: ~/workspace/core/devtools/environment/DEVENV-PORTS.md
|
|
# =============================================================================
|
|
|
|
container:
|
|
name: "ERP-SUITE"
|
|
description: "Contenedor de proyectos ERP verticales"
|
|
type: "monorepo"
|
|
|
|
# =============================================================================
|
|
# PROYECTOS CONTENIDOS
|
|
# =============================================================================
|
|
# NOTA: Los puertos están alineados con DEVENV-PORTS.md (fuente autoritativa)
|
|
# =============================================================================
|
|
projects:
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# ERP-CORE - Núcleo compartido (Nivel 2B.1)
|
|
# ---------------------------------------------------------------------------
|
|
erp-core:
|
|
name: "ERP-CORE"
|
|
code: "CORE"
|
|
description: "Núcleo compartido del sistema ERP"
|
|
status: "development"
|
|
level: "2B.1"
|
|
path: "apps/erp-core"
|
|
|
|
ports:
|
|
backend: 3000
|
|
frontend: 5173
|
|
database: 5432
|
|
redis: 6379
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "erp_core"
|
|
user: "erp_admin"
|
|
|
|
env_files:
|
|
backend: "apps/erp-core/backend/.env"
|
|
root: "apps/erp-core/.env"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# VERTICALES (Nivel 2B.2) - Puertos según DEVENV-PORTS.md
|
|
# ---------------------------------------------------------------------------
|
|
|
|
construccion:
|
|
name: "ERP-CONSTRUCCION"
|
|
code: "CON"
|
|
description: "Sistema de Administración de Obra"
|
|
status: "development"
|
|
level: "2B.2"
|
|
path: "apps/verticales/construccion"
|
|
|
|
ports:
|
|
backend: 3100
|
|
frontend: 5174
|
|
database: 5433
|
|
redis: 6380
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5433
|
|
name: "construccion_db"
|
|
user: "construccion_user"
|
|
|
|
env_files:
|
|
backend: "apps/verticales/construccion/backend/.env"
|
|
|
|
vidrio-templado:
|
|
name: "ERP-VIDRIO-TEMPLADO"
|
|
code: "VT"
|
|
description: "Sistema para industria de vidrio templado"
|
|
status: "planning"
|
|
level: "2B.2"
|
|
path: "apps/verticales/vidrio-templado"
|
|
|
|
ports:
|
|
backend: 3200
|
|
frontend: 5175
|
|
database: 5434
|
|
redis: 6381
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5434
|
|
name: "vidrio_templado_db"
|
|
user: "vidrio_user"
|
|
|
|
mecanicas-diesel:
|
|
name: "ERP-MECANICAS-DIESEL"
|
|
code: "MMD"
|
|
description: "Sistema para talleres mecánicos diesel"
|
|
status: "development"
|
|
level: "2B.2"
|
|
path: "apps/verticales/mecanicas-diesel"
|
|
|
|
ports:
|
|
backend: 3300
|
|
frontend: 5176
|
|
database: 5435
|
|
redis: 6382
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5435
|
|
name: "mecanicas_diesel_db"
|
|
user: "mecanicas_user"
|
|
|
|
retail:
|
|
name: "ERP-RETAIL"
|
|
code: "RT"
|
|
description: "Sistema de Punto de Venta y Comercio Minorista"
|
|
status: "planning"
|
|
level: "2B.2"
|
|
path: "apps/verticales/retail"
|
|
|
|
ports:
|
|
backend: 3400
|
|
frontend: 5177
|
|
database: 5436
|
|
redis: 6383
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5436
|
|
name: "retail_db"
|
|
user: "retail_user"
|
|
|
|
special:
|
|
offline_first: true
|
|
pwa: true
|
|
|
|
clinicas:
|
|
name: "ERP-CLINICAS"
|
|
code: "CL"
|
|
description: "Sistema para Clínicas con Cumplimiento NOM-024"
|
|
status: "planning"
|
|
level: "2B.2"
|
|
path: "apps/verticales/clinicas"
|
|
|
|
ports:
|
|
backend: 3500
|
|
frontend: 5178
|
|
database: 5437
|
|
redis: 6384
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5437
|
|
name: "clinicas_db"
|
|
user: "clinicas_user"
|
|
|
|
special:
|
|
compliance:
|
|
- NOM-024-SSA3-2012
|
|
- LFPDPPP
|
|
two_factor_auth: required
|
|
encryption: AES-256
|
|
|
|
# =============================================================================
|
|
# SERVICIOS COMPARTIDOS
|
|
# =============================================================================
|
|
shared_services:
|
|
postgresql:
|
|
description: "Instancias PostgreSQL separadas por vertical"
|
|
notes: "Cada vertical tiene su propia instancia en puerto diferente"
|
|
|
|
redis:
|
|
description: "Instancias Redis separadas por vertical"
|
|
notes: "Puertos 6379-6384 asignados"
|
|
|
|
# =============================================================================
|
|
# NOTAS
|
|
# =============================================================================
|
|
notes: |
|
|
- erp-suite es un monorepo que contiene múltiples proyectos
|
|
- Puertos asignados según DEVENV-PORTS.md (fuente autoritativa)
|
|
- Cada vertical tiene su propia database y puerto
|
|
- erp-core provee funcionalidad compartida (auth, tenants, etc.)
|
|
- Verticales con special requirements: retail (offline-first), clinicas (NOM-024)
|