60 lines
1.6 KiB
Plaintext
60 lines
1.6 KiB
Plaintext
# ==================================
|
|
# ANEXO76 - Variables de Entorno
|
|
# ==================================
|
|
|
|
# ----- PostgreSQL App -----
|
|
POSTGRES_APP_PASSWORD=postgres
|
|
|
|
# ----- PostgreSQL Keycloak -----
|
|
POSTGRES_KEYCLOAK_PASSWORD=postgres
|
|
|
|
# ----- Keycloak Admin -----
|
|
KEYCLOAK_ADMIN=admin
|
|
KEYCLOAK_ADMIN_PASSWORD=admin
|
|
|
|
# ----- Keycloak Configuración -----
|
|
KEYCLOAK_REALM=master
|
|
KEYCLOAK_CLIENT_ID=anexo76-backend
|
|
KEYCLOAK_CLIENT_SECRET=dev-secret
|
|
KEYCLOAK_FRONTEND_CLIENT_ID=anexo76-frontend
|
|
|
|
# ----- Backend -----
|
|
DEBUG=True
|
|
ENVIRONMENT=development
|
|
CORE_DB_HOST=postgres-a76
|
|
CORE_DB_PORT=5432
|
|
CORE_DB_NAME=anexo76_core
|
|
CORE_DB_USER=postgres
|
|
CORE_DB_PASSWORD=postgres
|
|
|
|
# ----- Frontend -----
|
|
NODE_ENV=development
|
|
VITE_API_URL=http://localhost:8000/api
|
|
INTERNAL_API_URL=http://backend:8000/api
|
|
VITE_KEYCLOAK_REALM=master
|
|
VITE_KEYCLOAK_URL=http://localhost:8080
|
|
VITE_KEYCLOAK_CLIENT_ID=anexo76-frontend
|
|
|
|
# ----- Sitar API -----
|
|
SITAR_API_URL=http://api.sitar.aduanasoft.com
|
|
SITAR_API_USER=your_sitar_user
|
|
SITAR_API_PASSWORD=your_sitar_password
|
|
|
|
# ----- Help Center (Sincronización) -----
|
|
# Si es CLIENTE, establecer la URL del Hub:
|
|
# Ejemplo: http://100.78.6.108:8001/api/v1/core/help-center/sync/
|
|
CENTRAL_SERVER_URL=
|
|
|
|
# Si es HUB, establecer las URLs de los clientes (separadas por comas):
|
|
SPOKE_URLS=
|
|
|
|
# Token de seguridad para la sincronización (debe ser el mismo en Hub y Clientes)
|
|
SYNC_SECRET_TOKEN=change-this-sync-token-in-production
|
|
|
|
# ID único del cliente (opcional, generado automáticamente si está vacío)
|
|
CLIENT_UUID=
|
|
|
|
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
|
|
|
|
|