editando el ejemplo env
This commit is contained in:
21
.env.example
21
.env.example
@@ -29,10 +29,10 @@ CORE_DB_PASSWORD=postgres
|
||||
|
||||
# ----- Frontend -----
|
||||
NODE_ENV=development
|
||||
VITE_API_URL=http://localhost:8001/api
|
||||
VITE_API_URL=http://localhost:8000/api
|
||||
INTERNAL_API_URL=http://backend:8000/api
|
||||
VITE_KEYCLOAK_REALM=master
|
||||
VITE_KEYCLOAK_URL=http://localhost:8081
|
||||
VITE_KEYCLOAK_URL=http://localhost:8080
|
||||
VITE_KEYCLOAK_CLIENT_ID=anexo76-frontend
|
||||
|
||||
# ----- Sitar API -----
|
||||
@@ -40,11 +40,20 @@ SITAR_API_URL=http://api.sitar.aduanasoft.com
|
||||
SITAR_API_USER=your_sitar_user
|
||||
SITAR_API_PASSWORD=your_sitar_password
|
||||
|
||||
# ----- Help Center -----
|
||||
# ----- 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=
|
||||
CLIENT_UUID=
|
||||
SYNC_SECRET_TOKEN=
|
||||
|
||||
# Si es HUB, establecer las URLs de los clientes (separadas por comas):
|
||||
SPOKE_URLS=
|
||||
CORS_ORIGINS=CORS: Permitir acceso desde la IP del Hub y localhost
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user