diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-17 16:39:48 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-17 16:39:48 +0100 |
| commit | ef86a09ee8d8fc287b382cf9092af8726b44ceae (patch) | |
| tree | 448b493d80a63137a9d42c0ca0cd2fa643e810e0 /src/delay_collector/.env.example | |
| parent | 4b9c57dc6547d0c9d105ac3767dcc90da758a25d (diff) | |
Drop support for Santiago de Compostela, add collection script
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 |
