Opentripplanner
This commit is contained in:
parent
bc3ecd846e
commit
bc5e5d327d
|
@ -1,11 +1,22 @@
|
|||
services:
|
||||
opentripplanner:
|
||||
container_name: opentripplanner
|
||||
image: docker.io/opentripplanner/opentripplanner:latest
|
||||
image: docker.io/opentripplanner/opentripplanner:2.5.0
|
||||
command: --load --serve
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- $DATA/opentripplanner:/var/opentripplanner:ro
|
||||
#- type: bind
|
||||
# source: $DATA/opentripplanner/graph.obj
|
||||
# target: /var/opentripplanner/graph.obj
|
||||
#- type: bind
|
||||
# source: $CONFIG/otp/otp-config.json
|
||||
# target: /var/opentripplanner/otp-config.json,readonly
|
||||
#- type: bind
|
||||
# source: $CONFIG/otp/router-config.json
|
||||
# target: /var/opentripplanner/router-config.json,readonly
|
||||
- $DATA/opentripplanner/graph.obj:/var/opentripplanner/graph.obj
|
||||
- $CONFIG/otp:/var/opentripplanner
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.otp.rule=Host(`maps.bhasher.com`)"
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"otpFeatures": {
|
||||
"FaresV2": true
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"routingDefaults": {
|
||||
"numItineraries": 12,
|
||||
"walk": {
|
||||
"speed": 1.7,
|
||||
"reluctance": 1.5
|
||||
},
|
||||
"waitReluctance": 1.5
|
||||
},
|
||||
"updaters": [
|
||||
{
|
||||
"type": "stop-time-updater",
|
||||
"frequency": "PT1M",
|
||||
"url": "https://sncb-opendata.hafas.de/gtfs/realtime/c21ac6758dd25af84cca5b707f3cb3de",
|
||||
"feedId": "1"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue