erp-vidrio-templado/orchestration/environment/PROJECT-ENV-CONFIG.yml

157 lines
4.4 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =============================================================================
# PROJECT-ENV-CONFIG.yml - ERP VIDRIO TEMPLADO
# =============================================================================
# Vertical de ERP-Suite especializada en Manufactura de Vidrio
# Actualizado: 2025-12-08
# Referencia: ~/workspace/core/devtools/environment/DEVENV-PORTS.md
# =============================================================================
project:
name: "ERP-VIDRIO-TEMPLADO"
code: "VT"
description: "Sistema para Manufactura de Vidrio Templado y Laminado"
type: "vertical"
level: "2B.2"
status: "planning"
parent: "erp-suite"
paths:
root: "/home/isem/workspace/projects/erp-suite/apps/verticales/vidrio-templado"
backend: "backend/"
frontend: "frontend/"
database: "database/"
docs: "docs/"
orchestration: "orchestration/"
# =============================================================================
# PUERTOS (Según DEVENV-PORTS.md)
# =============================================================================
ports:
backend: 3200
frontend: 5175
database: 5434
redis: 6381
# =============================================================================
# BASE DE DATOS
# =============================================================================
database:
type: "postgresql"
host: "localhost"
port: 5434
name: "vidrio_templado_db"
user: "vidrio_user"
schemas:
core_inherited: 12 # Schemas heredados de erp-core
vertical_specific:
- glass # Tipos vidrio, espesores, cotizaciones
- production # Órdenes, corte, templado
- quality # Tests, certificaciones, defectos
- logistics # Despachos, rutas
migration:
tool: "typeorm"
directory: "database/migrations/"
# =============================================================================
# STACK TECNOLOGICO
# =============================================================================
stack:
runtime: "Node.js 20+"
language: "TypeScript 5.3+"
backend:
framework: "Express.js"
orm: "TypeORM 0.3.17"
frontend:
framework: "React 18"
build: "Vite"
ui: "Tailwind CSS + shadcn/ui"
# =============================================================================
# HERENCIA DEL CORE
# =============================================================================
core_inheritance:
version: "0.6.0"
tables_inherited: 97
modules_inherited:
- auth
- users
- roles
- tenants
specs_applicable: 4
specs_implemented: 0
specs_detail:
- SPEC-VALORACION-INVENTARIO
- SPEC-TRAZABILIDAD-LOTES-SERIES
- SPEC-PRICING-RULES
- SPEC-PROYECTOS-DEPENDENCIAS-BURNDOWN
# =============================================================================
# MODULOS DE LA VERTICAL
# =============================================================================
modules:
total: 8
list:
- code: VT-001
name: Fundamentos
priority: P0
status: pending
- code: VT-002
name: Cotizaciones
priority: P0
status: pending
- code: VT-003
name: Producción
priority: P0
status: pending
- code: VT-004
name: Inventario
priority: P0
status: pending
- code: VT-005
name: Corte
priority: P1
status: pending
- code: VT-006
name: Templado
priority: P1
status: pending
- code: VT-007
name: Calidad
priority: P0
status: pending
- code: VT-008
name: Despacho
priority: P1
status: pending
# =============================================================================
# ARCHIVOS DE ENTORNO
# =============================================================================
env_files:
template: "orchestration/environment/.env.example"
backend: "backend/.env"
frontend: "frontend/.env"
env_variables:
required:
- NODE_ENV
- PORT
- DATABASE_URL
- JWT_SECRET
optional:
- LOG_LEVEL
- CORS_ORIGIN
# =============================================================================
# NOTAS
# =============================================================================
notes: |
- Vertical especializada en industria de vidrio templado
- Incluye calculador de vidrio (tipo × espesor × proceso)
- Trazabilidad lámina → pieza terminada
- Control de procesos de corte y templado
- Puertos asignados según DEVENV-PORTS.md (rango 3200)