diff options
Diffstat (limited to 'src/delay_collector/.env.example')
| -rw-r--r-- | src/delay_collector/.env.example | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/delay_collector/.env.example b/src/delay_collector/.env.example new file mode 100644 index 0000000..80ff054 --- /dev/null +++ b/src/delay_collector/.env.example @@ -0,0 +1,16 @@ +# Collection frequency in seconds (default: 30) +FREQUENCY_SECONDS=36 + +# PostgreSQL Database Configuration +DB_HOST=localhost +DB_PORT=5432 +DB_NAME=busurbano +DB_USER=postgres +DB_PASSWORD=your_password_here + +# Service hours (Madrid timezone) +# The collector will only run during these hours +SERVICE_START_HOUR=7 # Start at 7:00 AM +SERVICE_END_HOUR=23 # End at 11:30 PM +SERVICE_END_MINUTE=30 +SERVICE_TIMEZONE=Europe/Madrid |
