21 lines
410 B
Plaintext
21 lines
410 B
Plaintext
|
|
# API Configuration
|
||
|
|
PORT=3000
|
||
|
|
NODE_ENV=development
|
||
|
|
LOG_LEVEL=info
|
||
|
|
|
||
|
|
# Database
|
||
|
|
DATABASE_URL=postgresql://trenes_user:trenes_password@localhost:5432/trenes_db
|
||
|
|
|
||
|
|
# Redis
|
||
|
|
REDIS_URL=redis://:redis_password@localhost:6379
|
||
|
|
|
||
|
|
# GTFS-RT
|
||
|
|
GTFS_RT_URL=https://gtfsrt.renfe.com/vehicle_positions.pb
|
||
|
|
POLLING_INTERVAL=30000
|
||
|
|
|
||
|
|
# CORS
|
||
|
|
CORS_ORIGIN=http://localhost:3000,http://localhost:5173
|
||
|
|
|
||
|
|
# JWT
|
||
|
|
JWT_SECRET=your_jwt_secret_here
|