From 2b11cbec042d0723d6f7234ec87bcceb493638e3 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 21 Oct 2024 12:22:34 +0200 Subject: [PATCH] made sure that all containers have the `TZ: Europe/Berlin` environment variable set --- docker-compose.local.yml | 7 +++++++ docker-compose.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docker-compose.local.yml b/docker-compose.local.yml index ffbb5981d..aa748ca3a 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -92,6 +92,8 @@ 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 @@ -99,6 +101,8 @@ services: 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 @@ -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 @@ -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: diff --git a/docker-compose.yml b/docker-compose.yml index 49097c474..a11903a62 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -196,6 +196,8 @@ 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 @@ -203,6 +205,8 @@ services: 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 @@ -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 @@ -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: