38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
|
|
# ============================================
|
||
|
|
# Configuración de Testing del Sistema de Tracking de Trenes
|
||
|
|
# ============================================
|
||
|
|
# Este archivo se usa para el entorno de testing/pruebas
|
||
|
|
# No contiene datos sensibles ya que es solo para testing
|
||
|
|
|
||
|
|
# --- Base de Datos PostgreSQL ---
|
||
|
|
POSTGRES_PASSWORD=test_password_not_secure
|
||
|
|
|
||
|
|
# --- Redis ---
|
||
|
|
REDIS_PASSWORD=test_redis_password
|
||
|
|
|
||
|
|
# --- Backend API ---
|
||
|
|
JWT_SECRET=test_jwt_secret_for_testing_only_min_32_chars_12345
|
||
|
|
CORS_ORIGIN=http://localhost:80,http://localhost:3000,http://localhost:5173
|
||
|
|
LOG_LEVEL=debug
|
||
|
|
|
||
|
|
# --- Frontend ---
|
||
|
|
VITE_API_URL=http://localhost/api
|
||
|
|
VITE_WS_URL=ws://localhost/ws
|
||
|
|
|
||
|
|
# --- Worker ---
|
||
|
|
# URL del feed GTFS-RT de Renfe
|
||
|
|
GTFS_RT_URL=https://gtfsrt.renfe.com/vehicle_positions.pb
|
||
|
|
# Intervalo de polling más rápido para testing (15 segundos)
|
||
|
|
POLLING_INTERVAL=15000
|
||
|
|
|
||
|
|
# --- Configuración de Entorno ---
|
||
|
|
NODE_ENV=development
|
||
|
|
|
||
|
|
# --- Flags de Testing ---
|
||
|
|
# Generar datos de prueba automáticamente
|
||
|
|
GENERATE_TEST_DATA=true
|
||
|
|
# Habilitar endpoints de debug
|
||
|
|
ENABLE_DEBUG_ENDPOINTS=true
|
||
|
|
# Deshabilitar rate limiting para pruebas
|
||
|
|
DISABLE_RATE_LIMIT=true
|