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>
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
version: '3.8'
|
|
|
|
# =============================================================================
|
|
# ERP-SUITE: MECANICAS-DIESEL - Production Docker Compose
|
|
# =============================================================================
|
|
# Vertical: Mecánicas Diesel
|
|
# Puerto Frontend: 3040 | Puerto Backend: 3041
|
|
# Schemas BD: service_management, parts_management, vehicle_management
|
|
# =============================================================================
|
|
|
|
services:
|
|
backend:
|
|
image: ${DOCKER_REGISTRY:-72.60.226.4:5000}/erp-mecanicas-backend:${VERSION:-latest}
|
|
container_name: erp-mecanicas-backend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3041:3041"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3041
|
|
env_file:
|
|
- ./backend/.env.production
|
|
volumes:
|
|
- mecanicas-logs:/var/log/mecanicas
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:3041/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
networks:
|
|
- erp-network
|
|
- isem-network
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '1'
|
|
memory: 512M
|
|
|
|
frontend:
|
|
image: ${DOCKER_REGISTRY:-72.60.226.4:5000}/erp-mecanicas-frontend:${VERSION:-latest}
|
|
container_name: erp-mecanicas-frontend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3040:80"
|
|
depends_on:
|
|
backend:
|
|
condition: service_healthy
|
|
networks:
|
|
- erp-network
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 128M
|
|
|
|
volumes:
|
|
mecanicas-logs:
|
|
|
|
networks:
|
|
erp-network:
|
|
driver: bridge
|
|
isem-network:
|
|
external: true
|
|
name: isem-network
|