feat: initialize full microservices architecture including backend-api, edge-agent, infrastructure backup, and supporting modules
Some checks failed
Build, MSI & Deploy / Build Docker images (push) Failing after 1m46s
Build, MSI & Deploy / Deploy to Dokploy (push) Has been skipped
Build, MSI & Deploy / Build Edge Agent Binaries (push) Failing after 1m11s
Build, MSI & Deploy / Build Edge Agent MSI (push) Has been skipped
Build, MSI & Deploy / Send notification (push) Successful in 0s

This commit is contained in:
Wilman Yesid Farfan Diaz
2026-07-12 18:22:02 -05:00
parent 2bbc7972e3
commit eb2dcbe4f8
34 changed files with 473 additions and 138 deletions

View File

@@ -2,7 +2,7 @@
# OMNIOIL SCADA - CONFIGURACIÓN PARA AMBIENTE LOCAL (DOCUMENTADA)
# =============================================================================
AGENT_LATEST_VERSION=0.3.2
AGENT_LATEST_VERSION=0.3.6
# --- ORQUESTACIÓN DE COMPOSE ---
CONTAINER_PREFIX=anh
COMPOSE_PATH_SEPARATOR=; # Separador de archivos compose para Windows
@@ -95,8 +95,17 @@ REGISTRY_DATA=registry_data # Volumen para las im
INSTALLER_INCOMING=./.docker/installer_incoming # Carpeta host donde se inyectan los .exe
INSTALLER_OUTPUT=./.docker/installer_output # Carpeta host donde se generan los .msi
# --- RESPALDOS EN LA NUBE (Cloudflare R2 / S3) ---
R2_ENDPOINT=https://<tu_account_id>.r2.cloudflarestorage.com # URL del endpoint de Cloudflare R2
R2_BUCKET=omnioil-backups # Nombre del bucket en R2
R2_ACCESS_KEY_ID= # ID de clave de acceso de Cloudflare R2
R2_SECRET_ACCESS_KEY= # Clave de acceso secreta de Cloudflare R2
BACKUP_SCHEDULE=0 3 * * * # Programación cron para el backup (ej: diario a las 3 AM)
BACKUP_RETENTION_DAYS=7 # Días de retención de los respaldos en R2
# --- AGENTE EDGE (OTA updates) ---
AGENT_LATEST_VERSION=0.3.0 # Versión del agente que se distribuye vía OTA.
AGENT_LATEST_VERSION=0.3.6 # Versión del agente que se distribuye vía OTA.
# Actualizar cuando se publique nueva versión en MinIO.
# El endpoint GET /api/edge/update-info usa este valor.
API_BASE_URL=http://localhost:8000 # URL base del backend (para construir download_url en update-info)