diff --git a/Frontend/Dockerfile b/Frontend/Dockerfile index 58fdcd5..4e9751f 100644 --- a/Frontend/Dockerfile +++ b/Frontend/Dockerfile @@ -1,5 +1,8 @@ FROM nginx:stable-alpine +RUN apk add --no-cache tzdata +ENV TZ Europe/Warsaw + COPY ./tools/ /usr/share/nginx/html/tools/ COPY ./lawful/ /usr/share/nginx/html/lawful/ COPY ./assets/ /usr/share/nginx/html/assets/ diff --git a/docker-compose.yml b/docker-compose.yml index c317aaf..c9e1120 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,36 +4,27 @@ services: redis: image: 'redis' restart: "no" - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro xmltools-frontend: build: ./Frontend container_name: xmltools-frontend image: xmltools-frontend ports: - - 8086:80 - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro + - 8086:80 xmltools-backend: build: ./Backend/tools-services container_name: xmltools-backend image: xmltools-backend ports: - - 8081:8081 + - 8081:8081 xmltools-libxml-backend: build: ./Backend-libXML container_name: xmltools-libxml-backend image: xmltools-libxml-backend ports: - - 8082:80 - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro + - 8082:80 xmltools-mocked-services: build: @@ -47,9 +38,7 @@ services: - redis environment: SPRING_PROFILES_ACTIVE: DEV - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro + TZ: Europe/Warsaw swagger: image: "swaggerapi/swagger-ui:latest" @@ -75,9 +64,6 @@ services: command: - "-e" - "--strict.perms=false" - volumes: - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro networks: default: