homelab/bxl-shp/apps/docker-compose.maps.yaml

35 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-06-03 22:59:52 +02:00
services:
opentripplanner:
container_name: opentripplanner
2024-06-06 15:29:23 +02:00
image: docker.io/opentripplanner/opentripplanner:2.5.0
2024-06-03 22:59:52 +02:00
command: --load --serve
restart: unless-stopped
volumes:
2024-06-06 15:29:23 +02:00
#- 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
2024-06-03 22:59:52 +02:00
labels:
- "traefik.enable=true"
- "traefik.http.routers.otp.rule=Host(`maps.bhasher.com`)"
- "traefik.http.routers.otp.entrypoints=internalsecure"
- "traefik.http.services.otp.loadbalancer.server.port=8080"
- "traefik.http.routers.otp.tls=true"
- "traefik.http.routers.otp.tls.certresolver=http"
2024-06-18 16:33:41 +02:00
#- "traefik.http.routers.otp.middlewares=authelia@docker"
2024-06-03 22:59:52 +02:00
- "com.centurylinklabs.watchtower.enable=true"
networks:
- external
networks:
external:
external: true