Structure: - control-plane/: Registries, SIMCO directives, CI/CD templates - projects/: Gamilit, ERP-Suite, Trading-Platform, Betting-Analytics - shared/: Libs catalog, knowledge-base Key features: - Centralized port, domain, database, and service registries - 23 SIMCO directives + 6 fundamental principles - NEXUS agent profiles with delegation rules - Validation scripts for workspace integrity - Dockerfiles for all services - Path aliases for quick reference 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
110 lines
3.8 KiB
YAML
110 lines
3.8 KiB
YAML
# ==============================================================================
|
|
# NETWORKS.YML - Definicion de Redes Docker
|
|
# ==============================================================================
|
|
# Proposito: Define todas las redes Docker del workspace
|
|
# Mantenido por: DevOps-Agent
|
|
# Actualizado: 2025-12-18
|
|
# ==============================================================================
|
|
|
|
version: "1.0.0"
|
|
updated: "2025-12-18"
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# RED DE INFRAESTRUCTURA
|
|
# ------------------------------------------------------------------------------
|
|
infrastructure:
|
|
infra_shared:
|
|
name: "infra_shared"
|
|
driver: "bridge"
|
|
description: "Red compartida para servicios de infraestructura"
|
|
services:
|
|
- "traefik"
|
|
- "prometheus"
|
|
- "grafana"
|
|
- "redis"
|
|
notes: |
|
|
Esta red es compartida por TODOS los proyectos.
|
|
Traefik usa esta red para rutear trafico a servicios.
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# REDES POR PROYECTO
|
|
# ------------------------------------------------------------------------------
|
|
projects:
|
|
|
|
# ============================================================================
|
|
# GAMILIT
|
|
# ============================================================================
|
|
gamilit:
|
|
description: "Plataforma de gamificacion educativa"
|
|
environments:
|
|
- name: "gamilit_local"
|
|
description: "Desarrollo local"
|
|
- name: "gamilit_dev"
|
|
description: "Ambiente de desarrollo"
|
|
- name: "gamilit_staging"
|
|
description: "Pre-produccion"
|
|
- name: "gamilit_prod"
|
|
description: "Produccion"
|
|
|
|
# ============================================================================
|
|
# ERP SUITE
|
|
# ============================================================================
|
|
erp_core:
|
|
description: "ERP Suite - Core"
|
|
environments:
|
|
- name: "erp_core_local"
|
|
- name: "erp_core_dev"
|
|
- name: "erp_core_staging"
|
|
- name: "erp_core_prod"
|
|
|
|
erp_construccion:
|
|
description: "ERP - Vertical Construccion"
|
|
environments:
|
|
- name: "erp_construccion_local"
|
|
- name: "erp_construccion_dev"
|
|
|
|
erp_mecanicas:
|
|
description: "ERP - Vertical Mecanicas"
|
|
environments:
|
|
- name: "erp_mecanicas_local"
|
|
- name: "erp_mecanicas_dev"
|
|
|
|
# ============================================================================
|
|
# TRADING
|
|
# ============================================================================
|
|
trading:
|
|
description: "Plataforma de Trading"
|
|
environments:
|
|
- name: "trading_local"
|
|
- name: "trading_dev"
|
|
- name: "trading_staging"
|
|
- name: "trading_prod"
|
|
|
|
# ============================================================================
|
|
# BETTING
|
|
# ============================================================================
|
|
betting:
|
|
description: "Betting Analytics"
|
|
environments:
|
|
- name: "betting_local"
|
|
- name: "betting_dev"
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# REGLAS DE CONECTIVIDAD
|
|
# ------------------------------------------------------------------------------
|
|
connectivity:
|
|
rules:
|
|
- description: "Servicios de un proyecto solo ven su red + infra_shared"
|
|
pattern: "{proyecto}_{ambiente} <-> infra_shared"
|
|
|
|
- description: "Proyectos NO pueden verse entre si directamente"
|
|
pattern: "gamilit_* !<-> erp_*"
|
|
|
|
- description: "Verticales de ERP pueden ver erp_core"
|
|
pattern: "erp_construccion_* <-> erp_core_*"
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# SCRIPT DE CREACION
|
|
# ------------------------------------------------------------------------------
|
|
# Ver: create-networks.sh para crear todas estas redes
|