- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
173 lines
4.8 KiB
YAML
173 lines
4.8 KiB
YAML
# =============================================================================
|
|
# PROJECT-ENV-CONFIG.yml - ERP-SUITE (CONTENEDOR)
|
|
# =============================================================================
|
|
# erp-suite es un CONTENEDOR de proyectos, NO un proyecto individual
|
|
# Actualizado: 2025-12-05
|
|
# Referencia: ~/workspace/core/devtools/environment/DEV-ENVIRONMENT-REGISTRY.yml
|
|
# =============================================================================
|
|
|
|
container:
|
|
name: "ERP-SUITE"
|
|
description: "Contenedor de proyectos ERP verticales"
|
|
type: "monorepo"
|
|
|
|
# =============================================================================
|
|
# PROYECTOS CONTENIDOS
|
|
# =============================================================================
|
|
projects:
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# ERP-CORE - Núcleo compartido
|
|
# ---------------------------------------------------------------------------
|
|
erp-core:
|
|
name: "ERP-CORE"
|
|
description: "Núcleo compartido del sistema ERP"
|
|
status: "development"
|
|
path: "apps/erp-core"
|
|
port_block: 3020
|
|
|
|
ports:
|
|
frontend: 3025
|
|
backend: 3026
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "erp_core"
|
|
user: "erp_admin"
|
|
|
|
env_files:
|
|
backend: "apps/erp-core/backend/.env"
|
|
root: "apps/erp-core/.env"
|
|
|
|
migration:
|
|
required: true
|
|
changes:
|
|
- file: "apps/erp-core/.env"
|
|
field: "PORT"
|
|
current: 3000
|
|
target: 3026
|
|
- file: "apps/erp-core/.env"
|
|
field: "DB_PORT"
|
|
current: 5432
|
|
target: 5434
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# VERTICALES
|
|
# ---------------------------------------------------------------------------
|
|
|
|
construccion:
|
|
name: "ERP-CONSTRUCCION"
|
|
description: "Sistema de Administración de Obra"
|
|
status: "development"
|
|
path: "apps/verticales/construccion"
|
|
port_block: 3030
|
|
|
|
ports:
|
|
frontend: 3035
|
|
backend: 3036
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432 # Comparte instancia PostgreSQL
|
|
name: "construccion_mvp"
|
|
user: "erp_admin"
|
|
|
|
env_files:
|
|
backend: "apps/verticales/construccion/backend/.env"
|
|
|
|
migration:
|
|
required: true
|
|
changes:
|
|
- file: "apps/verticales/construccion/backend/.env"
|
|
field: "APP_PORT"
|
|
current: 3000
|
|
target: 3036
|
|
|
|
vidrio-templado:
|
|
name: "ERP-VIDRIO-TEMPLADO"
|
|
description: "Sistema para industria de vidrio templado"
|
|
status: "development"
|
|
path: "apps/verticales/vidrio-templado"
|
|
port_block: 3040
|
|
|
|
ports:
|
|
frontend: 3045
|
|
backend: 3046
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "vidrio_templado"
|
|
user: "erp_admin"
|
|
|
|
mecanicas-diesel:
|
|
name: "ERP-MECANICAS-DIESEL"
|
|
description: "Sistema para talleres mecánicos diesel"
|
|
status: "development"
|
|
path: "apps/verticales/mecanicas-diesel"
|
|
port_block: 3050
|
|
|
|
ports:
|
|
frontend: 3055
|
|
backend: 3056
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "mecanicas_diesel"
|
|
user: "erp_admin"
|
|
|
|
clinicas:
|
|
name: "ERP-CLINICAS"
|
|
description: "Sistema para clínicas y consultorios"
|
|
status: "development"
|
|
path: "apps/verticales/clinicas"
|
|
port_block: 3060
|
|
|
|
ports:
|
|
frontend: 3065
|
|
backend: 3066
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "clinicas"
|
|
user: "erp_admin"
|
|
|
|
retail:
|
|
name: "ERP-RETAIL"
|
|
description: "Sistema para comercio minorista"
|
|
status: "development"
|
|
path: "apps/verticales/retail"
|
|
port_block: 3070
|
|
|
|
ports:
|
|
frontend: 3075
|
|
backend: 3076
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "retail"
|
|
user: "erp_admin"
|
|
|
|
# =============================================================================
|
|
# SERVICIOS COMPARTIDOS
|
|
# =============================================================================
|
|
shared_services:
|
|
postgresql:
|
|
description: "Instancia PostgreSQL compartida para todos los verticales"
|
|
host: "localhost"
|
|
port: 5432
|
|
notes: "Una instancia, múltiples databases por vertical"
|
|
|
|
# =============================================================================
|
|
# NOTAS
|
|
# =============================================================================
|
|
notes: |
|
|
- erp-suite es un monorepo que contiene múltiples proyectos
|
|
- Todos los verticales comparten la instancia PostgreSQL en puerto 5434
|
|
- Cada vertical tiene su propia database dentro de la misma instancia
|
|
- erp-core provee funcionalidad compartida (auth, tenants, etc.)
|