Skip to content

Commit

Permalink
made sure that all containers have the TZ: Europe/Berlin environmen…
Browse files Browse the repository at this point in the history
…t variable set
  • Loading branch information
CommanderStorm committed Oct 21, 2024
1 parent b414f3c commit 2b11cbe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,17 @@ services:
osm-download-data:
image: alpine:latest
command: sh -c "apk --update add --quiet wget && wget https://download.geofabrik.de/europe/germany/bayern/oberbayern-latest.osm.pbf"
environment:
TZ: Europe/Berlin
working_dir: /map/data
volumes:
- ./map/data/:/map/data/:rw
gtfs-download-data:
image: alpine:latest
## aah, MVV, warum machst du so sachen???
command: sh -c "apk --update add --quiet wget && wget https://www.opendata-oepnv.de/dataset/17065229-c3fd-46d7-84a9-aae55aadbf40/resource/927d0830-2a40-4702-acc6-f5716352b666/download/gtfs_mvv_mitshape_240814.zip && unzip -d mvv gtfs_mvv*.zip && rm *.zip"
environment:
TZ: Europe/Berlin
working_dir: /gtfs_feeds
volumes:
- ./map/gtfs_feeds/:/gtfs_feeds/:rw
Expand All @@ -108,6 +112,7 @@ services:
- ./map/data/:/custom_files:rw
- ./map/gtfs_feeds:/gtfs_feeds:rw
environment:
TZ: Europe/Berlin
build_elevation: True
build_admins: Force
build_time_zones: Force
Expand All @@ -122,6 +127,8 @@ services:
valhalla:
image: ghcr.io/gis-ops/docker-valhalla/valhalla:latest
restart: unless-stopped
environment:
TZ: Europe/Berlin
ports:
- "8002:8002"
depends_on:
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,17 @@ services:
osm-download-data:
image: alpine:latest
command: sh -c "apk --update add --quiet wget && wget https://download.geofabrik.de/europe/germany/bayern/oberbayern-latest.osm.pbf -o nul"
environment:
TZ: Europe/Berlin
working_dir: /map/data
volumes:
- ./map/data/:/map/data/:rw
gtfs-download-data:
image: alpine:latest
## aah, MVV, warum machst du so sachen???
command: sh -c "apk --update add --quiet wget && wget https://www.opendata-oepnv.de/dataset/17065229-c3fd-46d7-84a9-aae55aadbf40/resource/927d0830-2a40-4702-acc6-f5716352b666/download/gtfs_mvv_mitshape_240814.zip && unzip -d mvv gtfs_mvv*.zip && rm *.zip"
environment:
TZ: Europe/Berlin
working_dir: /gtfs_feeds
volumes:
- ./map/gtfs_feeds/:/gtfs_feeds/:rw
Expand All @@ -212,6 +216,7 @@ services:
- ./map/data/:/custom_files:rw
- ./map/gtfs_feeds:/gtfs_feeds:rw
environment:
TZ: Europe/Berlin
build_elevation: True
build_admins: Force
build_time_zones: Force
Expand All @@ -234,6 +239,8 @@ services:
- "traefik.http.routers.navigatum-valhalla.middlewares=navigatum-valhalla-stripprefix@docker"
- "traefik.http.middlewares.navigatum-valhalla-stripprefix.stripprefix.prefixes=/valhalla"
- "traefik.http.services.navigatum-valhalla.loadbalancer.server.port=8002"
environment:
TZ: Europe/Berlin
expose:
- 8002
depends_on:
Expand Down

0 comments on commit 2b11cbe

Please sign in to comment.