Files
plantillas-proyectos/backend/.env.example
Kevin_Ramirez bdd089954b
Some checks failed
Build Producción & Push a Harbor / test (push) Failing after 3s
Build Producción & Push a Harbor / build (push) Has been skipped
Aduanasoft/plantillas-proyectos/pipeline/head There was a failure building this commit
feat: plantilla base workspace SaaS
2026-07-21 13:59:00 -05:00

40 lines
1.1 KiB
Plaintext

# Application
APP_NAME=Mi Aplicación
APP_VERSION=1.0.0
DEBUG=True
ENVIRONMENT=development
# Auth local para desarrollo (sin Keycloak/Hub)
# Cambia a True para entrar sin workspace. NUNCA en producción.
DEV_LOCAL_AUTH=False
DEV_LOCAL_AUTH_EMAIL=dev@local.test
DEV_LOCAL_AUTH_NAME=Dev User
DEV_LOCAL_AUTH_TENANT_ID=1
DEV_LOCAL_AUTH_COMPANY_ID=1
# Database - Core
CORE_DB_HOST=localhost
CORE_DB_PORT=5432
CORE_DB_NAME=anexo76_core
CORE_DB_USER=postgres
CORE_DB_PASSWORD=postgres
# CORS
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# Hub de Aduanasoft — requerido siempre (SaaS y self-hosted)
HUB_URL=https://hub.aduanasoft.com
# Factura COVE / VUCEM / DODA / API Ventanilla Única
# Llave y IV AES-256-CBC para cifrar la clave FIEL.
COVE_FIEL_HASH_KEY=
COVE_FIEL_HASH_IV=
# URL base del API de Ventanilla Única (COVE, Expediente y DODA comparten esta variable).
COVE_API_URL=https://api.vu.aduanasoft.com
# Verificación SSL para el API de VU (False en redes internas / dev, True en producción).
COVE_API_VERIFY_SSL=False
# Sincronización (Hub & Spoke)
SYNC_SECRET_TOKEN=change-this-sync-token-in-production
CENTRAL_SERVER_URL=