From b75a2e0d376d0832f1ae33c3d989dc4cc8e78b8d Mon Sep 17 00:00:00 2001 From: Adam Bem Date: Thu, 11 May 2023 11:13:26 +0200 Subject: [PATCH] Changed timezone (solves #164 and #181) --- docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 6a620bb..c317aaf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,9 @@ services: redis: image: 'redis' restart: "no" + volumes: + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro xmltools-frontend: build: ./Frontend @@ -11,6 +14,9 @@ services: image: xmltools-frontend ports: - 8086:80 + volumes: + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro xmltools-backend: build: ./Backend/tools-services @@ -25,6 +31,9 @@ services: image: xmltools-libxml-backend ports: - 8082:80 + volumes: + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro xmltools-mocked-services: build: @@ -38,6 +47,9 @@ services: - redis environment: SPRING_PROFILES_ACTIVE: DEV + volumes: + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro swagger: image: "swaggerapi/swagger-ui:latest" @@ -63,6 +75,9 @@ services: command: - "-e" - "--strict.perms=false" + volumes: + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro networks: default: -- 2.51.0