Skip to content

Fix GTFS_URL environment variable being ignored by docker-compose#126

Merged
aaronbrethorst merged 1 commit intomainfrom
fix-120
Feb 8, 2026
Merged

Fix GTFS_URL environment variable being ignored by docker-compose#126
aaronbrethorst merged 1 commit intomainfrom
fix-120

Conversation

@aaronbrethorst
Copy link
Member

The hardcoded GTFS_URL=value syntax always set a literal value, overriding any host environment variable. Switch to ${GTFS_URL:-default} interpolation so the host's GTFS_URL is used when set, falling back to the Unitrans default otherwise.

Fixes #120.

The hardcoded `GTFS_URL=value` syntax always set a literal value,
overriding any host environment variable. Switch to `${GTFS_URL:-default}`
interpolation so the host's GTFS_URL is used when set, falling back to
the Unitrans default otherwise. Fixes #120.
@aaronbrethorst aaronbrethorst merged commit cc283ee into main Feb 8, 2026
3 checks passed
@aaronbrethorst aaronbrethorst deleted the fix-120 branch February 8, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENV not used

1 participant