Files
trenes/.env.testing
Millaguie 34c0cb50c7
Some checks failed
Auto Tag on Merge to Main / auto-tag (push) Successful in 27s
CI - Lint and Build / lint-backend (push) Failing after 30s
CI - Lint and Build / lint-frontend (push) Failing after 2s
CI - Lint and Build / build-frontend (push) Has been skipped
CI - Lint and Build / docker-build-test (push) Has been skipped
feat: Initial commit - Train tracking system
Complete real-time train tracking system for Spanish railways (Renfe/Cercanías):

- Backend API (Node.js/Express) with GTFS-RT polling workers
- Frontend dashboard (React/Vite) with Leaflet maps
- Real-time updates via Socket.io WebSocket
- PostgreSQL/PostGIS database with Flyway migrations
- Redis caching layer
- Docker Compose configuration for development and production
- Gitea CI/CD workflows (lint, auto-tag, release)
- Production deployment with nginx + Let's Encrypt SSL

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 00:21:15 +01:00

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