Add OSRM and OTP Docker services with setup scripts
Adds osrm-foot, osrm-bicycle, and otp services to Docker Compose under a 'routing' profile (opt-in). Setup scripts download Greater London OSM data and pre-process for OSRM foot/bicycle profiles, plus TfL GTFS for OTP transit. Routing engine env vars added to .env.sample.
This commit is contained in:
parent
149311508e
commit
bb489c2032
4 changed files with 220 additions and 0 deletions
|
|
@ -63,3 +63,10 @@ EXPORT_GEOJSON_STREAM_BATCH_CAP=200 # Max batch size for streaming
|
|||
|
||||
# Metrics endpoint access control (comma-separated IPs/CIDRs)
|
||||
METRICS_ALLOWED_IPS=127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,::1
|
||||
|
||||
# Self-hosted routing engines (POI distance calculator)
|
||||
OSRM_FOOT_URL=http://osrm-foot:5000 # OSRM walking profile
|
||||
OSRM_BICYCLE_URL=http://osrm-bicycle:5000 # OSRM cycling profile
|
||||
OTP_URL=http://otp:8080 # OpenTripPlanner for transit
|
||||
OSRM_BATCH_SIZE=50 # Origins per OSRM /table request
|
||||
OTP_MAX_CONCURRENT=10 # Max concurrent OTP requests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue