- 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>
478 lines
14 KiB
YAML
478 lines
14 KiB
YAML
# =============================================================================
|
|
# DEV-ENVIRONMENT-REGISTRY.yml
|
|
# Registro Centralizado de Ambiente de Desarrollo Multi-Proyecto
|
|
# =============================================================================
|
|
# Mantenido por: NEXUS-DEVENV
|
|
# Última actualización: 2025-12-05
|
|
# =============================================================================
|
|
|
|
metadata:
|
|
version: "1.1.0"
|
|
last_updated: "2025-12-05"
|
|
maintained_by: "NEXUS-DEVENV"
|
|
workspace_root: "/home/isem/workspace"
|
|
|
|
# =============================================================================
|
|
# CONVENCIÓN DE PUERTOS
|
|
# =============================================================================
|
|
# Patrón: Cada proyecto tiene un bloque de 10 puertos
|
|
# - Frontend: base + 0 (ej: 3005)
|
|
# - Backend: base + 1 (ej: 3006)
|
|
# - ML/API: base + 2 (ej: 3007)
|
|
# - Workers: base + 3-9
|
|
#
|
|
# Bases asignadas:
|
|
# - 3000-3009: gamilit
|
|
# - 3010-3019: orbiquantia
|
|
# - 3020-3029: erp-core
|
|
# - 3030-3039: erp-construccion
|
|
# - 3040-3049: erp-vidrio-templado
|
|
# - 3050-3059: erp-mecanicas-diesel
|
|
# - 3060-3069: erp-clinicas
|
|
# - 3070-3079: erp-retail
|
|
# - 3080-3089: trading-platform
|
|
# - 3090-3099: betting-analytics
|
|
# - 3100-3109: inmobiliaria-analytics
|
|
# =============================================================================
|
|
|
|
port_ranges:
|
|
projects:
|
|
start: 3000
|
|
end: 3199
|
|
block_size: 10
|
|
description: "Cada proyecto tiene un bloque de 10 puertos"
|
|
|
|
postgresql:
|
|
port: 5432
|
|
description: "UNA instancia PostgreSQL, múltiples databases"
|
|
|
|
redis:
|
|
start: 6379
|
|
end: 6399
|
|
description: "Redis cache y sesiones"
|
|
|
|
ml_services:
|
|
start: 8000
|
|
end: 8099
|
|
description: "FastAPI/Python ML services (alternativo)"
|
|
|
|
# =============================================================================
|
|
# PROYECTOS INDEPENDIENTES
|
|
# =============================================================================
|
|
projects:
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# GAMILIT - Sistema de Gamificación Educativa
|
|
# ---------------------------------------------------------------------------
|
|
gamilit:
|
|
name: "GAMILIT"
|
|
description: "Sistema de Gamificación Educativa"
|
|
status: "active"
|
|
path: "/home/isem/workspace/projects/gamilit"
|
|
port_block: 3000
|
|
|
|
stack:
|
|
backend: "NestJS + TypeScript"
|
|
frontend: "React + TypeScript + Vite"
|
|
database: "PostgreSQL 15"
|
|
|
|
ports:
|
|
frontend: 3005 # Vite dev server
|
|
backend: 3006 # NestJS API
|
|
websocket: 3006 # Mismo que backend
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "gamilit_platform"
|
|
user: "gamilit_user"
|
|
|
|
urls:
|
|
frontend: "http://localhost:3005"
|
|
backend_api: "http://localhost:3006/api"
|
|
swagger: "http://localhost:3006/api/docs"
|
|
|
|
env_files:
|
|
backend: "apps/backend/.env"
|
|
frontend: "apps/frontend/.env"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# ORBIQUANTIA - Plataforma de Trading Cuantitativo
|
|
# ---------------------------------------------------------------------------
|
|
orbiquantia:
|
|
name: "ORBIQUANTIA"
|
|
description: "Plataforma de Trading Cuantitativo con ML"
|
|
status: "active"
|
|
path: "/home/isem/workspace/projects/orbiquantia"
|
|
port_block: 3010
|
|
|
|
stack:
|
|
backend: "NestJS + TypeScript"
|
|
frontend: "React + TypeScript + Vite"
|
|
database: "PostgreSQL 15"
|
|
ml_service: "FastAPI + Python"
|
|
|
|
ports:
|
|
frontend: 3015 # Vite dev server (o 5173 default)
|
|
backend: 3016 # NestJS API
|
|
ml_service: 8001 # FastAPI ML
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "orbiquantia_platform"
|
|
user: "orbiquantia"
|
|
|
|
urls:
|
|
frontend: "http://localhost:3015"
|
|
backend_api: "http://localhost:3016/api"
|
|
ml_service: "http://localhost:8001"
|
|
swagger: "http://localhost:3016/api/docs"
|
|
|
|
env_files:
|
|
backend: "apps/backend/.env"
|
|
frontend: "apps/frontend/.env"
|
|
ml_service: "apps/ml-services/.env"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# TRADING-PLATFORM
|
|
# ---------------------------------------------------------------------------
|
|
trading-platform:
|
|
name: "TRADING-PLATFORM"
|
|
description: "Plataforma de Trading"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/trading-platform"
|
|
port_block: 3080
|
|
|
|
stack:
|
|
backend: "NestJS + TypeScript"
|
|
frontend: "React + TypeScript + Vite"
|
|
database: "PostgreSQL 15"
|
|
|
|
ports:
|
|
frontend: 3085
|
|
backend: 3086
|
|
ml_service: 8002
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "trading_platform"
|
|
user: "trading_user"
|
|
|
|
urls:
|
|
frontend: "http://localhost:3085"
|
|
backend_api: "http://localhost:3086/api"
|
|
|
|
env_files:
|
|
backend: "apps/backend/.env"
|
|
frontend: "apps/frontend/.env"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# BETTING-ANALYTICS
|
|
# ---------------------------------------------------------------------------
|
|
betting-analytics:
|
|
name: "BETTING-ANALYTICS"
|
|
description: "Plataforma de Análisis de Apuestas Deportivas"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/betting-analytics"
|
|
port_block: 3090
|
|
|
|
stack:
|
|
backend: "NestJS + TypeScript"
|
|
frontend: "React + TypeScript + Vite"
|
|
database: "PostgreSQL 15"
|
|
ml_service: "FastAPI + Python"
|
|
|
|
ports:
|
|
frontend: 3095
|
|
backend: 3096
|
|
ml_service: 8003
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "betting_analytics"
|
|
user: "betting_user"
|
|
|
|
urls:
|
|
frontend: "http://localhost:3095"
|
|
backend_api: "http://localhost:3096/api"
|
|
|
|
env_files:
|
|
backend: "apps/backend/.env"
|
|
frontend: "apps/frontend/.env"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# INMOBILIARIA-ANALYTICS
|
|
# ---------------------------------------------------------------------------
|
|
inmobiliaria-analytics:
|
|
name: "INMOBILIARIA-ANALYTICS"
|
|
description: "Plataforma de Análisis del Mercado Inmobiliario"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/inmobiliaria-analytics"
|
|
port_block: 3100
|
|
|
|
stack:
|
|
backend: "NestJS + TypeScript"
|
|
frontend: "React + TypeScript + Vite"
|
|
database: "PostgreSQL 15"
|
|
ml_service: "FastAPI + Python"
|
|
|
|
ports:
|
|
frontend: 3105
|
|
backend: 3106
|
|
ml_service: 8004
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "inmobiliaria_analytics"
|
|
user: "inmobiliaria_user"
|
|
|
|
urls:
|
|
frontend: "http://localhost:3105"
|
|
backend_api: "http://localhost:3106/api"
|
|
|
|
env_files:
|
|
backend: "apps/backend/.env"
|
|
frontend: "apps/frontend/.env"
|
|
|
|
# =============================================================================
|
|
# ERP-SUITE - CONTENEDOR DE PROYECTOS VERTICALES
|
|
# =============================================================================
|
|
# erp-suite NO es un proyecto, es un contenedor que agrupa:
|
|
# - erp-core: Núcleo compartido
|
|
# - Verticales: Proyectos específicos por industria
|
|
# =============================================================================
|
|
|
|
erp_suite:
|
|
description: "Contenedor de proyectos ERP verticales"
|
|
path: "/home/isem/workspace/projects/erp-suite"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# ERP-CORE - Núcleo Compartido
|
|
# ---------------------------------------------------------------------------
|
|
erp-core:
|
|
name: "ERP-CORE"
|
|
description: "Núcleo compartido del sistema ERP"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/erp-suite/apps/erp-core"
|
|
port_block: 3020
|
|
|
|
stack:
|
|
backend: "NestJS + TypeScript"
|
|
frontend: "React + TypeScript + Vite"
|
|
database: "PostgreSQL 15"
|
|
|
|
ports:
|
|
frontend: 3025
|
|
backend: 3026
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "erp_core"
|
|
user: "erp_admin"
|
|
|
|
urls:
|
|
frontend: "http://localhost:3025"
|
|
backend_api: "http://localhost:3026/api"
|
|
|
|
env_files:
|
|
backend: "apps/erp-core/backend/.env"
|
|
root: "apps/erp-core/.env"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# VERTICALES
|
|
# ---------------------------------------------------------------------------
|
|
verticales:
|
|
|
|
# -------------------------------------------------------------------------
|
|
# CONSTRUCCIÓN - Administración de Obra
|
|
# -------------------------------------------------------------------------
|
|
construccion:
|
|
name: "ERP-CONSTRUCCION"
|
|
description: "Sistema de Administración de Obra"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/erp-suite/apps/verticales/construccion"
|
|
port_block: 3030
|
|
|
|
stack:
|
|
backend: "NestJS + TypeScript"
|
|
frontend: "React + TypeScript + Vite"
|
|
database: "PostgreSQL 15"
|
|
|
|
ports:
|
|
frontend: 3035
|
|
backend: 3036
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "construccion_mvp"
|
|
user: "erp_admin"
|
|
|
|
urls:
|
|
frontend: "http://localhost:3035"
|
|
backend_api: "http://localhost:3036/api"
|
|
|
|
env_files:
|
|
backend: "apps/verticales/construccion/backend/.env"
|
|
|
|
# -------------------------------------------------------------------------
|
|
# VIDRIO-TEMPLADO
|
|
# -------------------------------------------------------------------------
|
|
vidrio-templado:
|
|
name: "ERP-VIDRIO-TEMPLADO"
|
|
description: "Sistema para industria de vidrio templado"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/erp-suite/apps/verticales/vidrio-templado"
|
|
port_block: 3040
|
|
|
|
ports:
|
|
frontend: 3045
|
|
backend: 3046
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "vidrio_templado"
|
|
user: "erp_admin"
|
|
|
|
# -------------------------------------------------------------------------
|
|
# MECÁNICAS-DIESEL
|
|
# -------------------------------------------------------------------------
|
|
mecanicas-diesel:
|
|
name: "ERP-MECANICAS-DIESEL"
|
|
description: "Sistema para talleres mecánicos diesel"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/erp-suite/apps/verticales/mecanicas-diesel"
|
|
port_block: 3050
|
|
|
|
ports:
|
|
frontend: 3055
|
|
backend: 3056
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "mecanicas_diesel"
|
|
user: "erp_admin"
|
|
|
|
# -------------------------------------------------------------------------
|
|
# CLÍNICAS
|
|
# -------------------------------------------------------------------------
|
|
clinicas:
|
|
name: "ERP-CLINICAS"
|
|
description: "Sistema para clínicas y consultorios"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/erp-suite/apps/verticales/clinicas"
|
|
port_block: 3060
|
|
|
|
ports:
|
|
frontend: 3065
|
|
backend: 3066
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "clinicas"
|
|
user: "erp_admin"
|
|
|
|
# -------------------------------------------------------------------------
|
|
# RETAIL
|
|
# -------------------------------------------------------------------------
|
|
retail:
|
|
name: "ERP-RETAIL"
|
|
description: "Sistema para comercio minorista"
|
|
status: "development"
|
|
path: "/home/isem/workspace/projects/erp-suite/apps/verticales/retail"
|
|
port_block: 3070
|
|
|
|
ports:
|
|
frontend: 3075
|
|
backend: 3076
|
|
|
|
database:
|
|
host: "localhost"
|
|
port: 5432
|
|
name: "retail"
|
|
user: "erp_admin"
|
|
|
|
# =============================================================================
|
|
# SERVICIOS COMPARTIDOS
|
|
# =============================================================================
|
|
# IMPORTANTE: Una sola instancia de PostgreSQL, múltiples databases
|
|
# =============================================================================
|
|
shared_services:
|
|
|
|
postgresql:
|
|
description: "Instancia única de PostgreSQL para todos los proyectos"
|
|
host: "localhost"
|
|
port: 5432
|
|
databases:
|
|
- gamilit_platform # GAMILIT
|
|
- orbiquantia_platform # ORBIQUANTIA
|
|
- erp_core # ERP-CORE
|
|
- construccion_mvp # ERP-Construccion
|
|
- vidrio_templado # ERP-Vidrio
|
|
- mecanicas_diesel # ERP-Mecanicas
|
|
- clinicas # ERP-Clinicas
|
|
- retail # ERP-Retail
|
|
- trading_platform # TRADING-PLATFORM
|
|
- betting_analytics # BETTING-ANALYTICS
|
|
- inmobiliaria_analytics # INMOBILIARIA-ANALYTICS
|
|
notes: "Todas las databases en una sola instancia PostgreSQL"
|
|
|
|
redis_main:
|
|
description: "Instancia principal de Redis"
|
|
host: "localhost"
|
|
port: 6379
|
|
|
|
# =============================================================================
|
|
# RESUMEN DE ASIGNACIÓN DE PUERTOS
|
|
# =============================================================================
|
|
port_allocation_summary:
|
|
# GAMILIT (actual/producción)
|
|
"3005": "gamilit-frontend"
|
|
"3006": "gamilit-backend"
|
|
|
|
# ORBIQUANTIA
|
|
"3015": "orbiquantia-frontend"
|
|
"3016": "orbiquantia-backend"
|
|
"8001": "orbiquantia-ml"
|
|
|
|
# ERP-CORE
|
|
"3025": "erp-core-frontend"
|
|
"3026": "erp-core-backend"
|
|
|
|
# ERP VERTICALES
|
|
"3035": "erp-construccion-frontend"
|
|
"3036": "erp-construccion-backend"
|
|
"3045": "erp-vidrio-frontend"
|
|
"3046": "erp-vidrio-backend"
|
|
"3055": "erp-mecanicas-frontend"
|
|
"3056": "erp-mecanicas-backend"
|
|
"3065": "erp-clinicas-frontend"
|
|
"3066": "erp-clinicas-backend"
|
|
"3075": "erp-retail-frontend"
|
|
"3076": "erp-retail-backend"
|
|
|
|
# OTROS PROYECTOS
|
|
"3085": "trading-platform-frontend"
|
|
"3086": "trading-platform-backend"
|
|
"3095": "betting-analytics-frontend"
|
|
"3096": "betting-analytics-backend"
|
|
"3105": "inmobiliaria-frontend"
|
|
"3106": "inmobiliaria-backend"
|
|
|
|
# PostgreSQL (UNA sola instancia, múltiples databases)
|
|
"5432": "postgresql (instancia única para todos los proyectos)"
|
|
|
|
# ML Services
|
|
"8001": "orbiquantia-ml"
|
|
"8002": "trading-ml"
|
|
"8003": "betting-ml"
|
|
"8004": "inmobiliaria-ml"
|