Files
plantillas-proyectos/backend/.env.example
2026-04-26 18:13:20 -06:00

45 lines
1.2 KiB
Plaintext

# Application
APP_NAME=Anexo76
APP_VERSION=1.0.0
DEBUG=True
ENVIRONMENT=development
# Database - Core (Shared)
CORE_DB_HOST=localhost
CORE_DB_PORT=5432
CORE_DB_NAME=anexo76_core
CORE_DB_USER=postgres
CORE_DB_PASSWORD=postgres
# Keycloak
KEYCLOAK_SERVER_URL=http://localhost:8080/kcauth
KEYCLOAK_REALM=master
KEYCLOAK_CLIENT_ID=anexo76-backend
KEYCLOAK_CLIENT_SECRET=your-client-secret
# Security
SECRET_KEY=your-secret-key-change-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# CORS
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# License Service
LICENSE_CHECK_ENABLED=True
# Factura COVE / VUCEM / API Ventanilla Única
# Llave y IV AES-256-CBC para cifrar la clave FIEL (misma que usa VU y DODA).
COVE_FIEL_HASH_KEY=
COVE_FIEL_HASH_IV=
# URL del API de digitalización de expediente (ExpedienteExternalService / CoveExternalService)
COVE_API_URL=https://api.vu.aduanasoft.com
# URL del API externo DODA/PITA (alta, status). Misma red que VU.
DODA_API_BASE_URL=http://192.168.1.66:8008
DODA_API_VERIFY_SSL=False
# Synchronization (Hub & Spoke)
SYNC_SECRET_TOKEN=change-this-sync-token-in-production
# Only for spokes/clients. Leave empty if this is the Hub.
CENTRAL_SERVER_URL=http://localhost:8000/api/v1/core/help-center/sync/