Fixed timezone (#193)
Co-authored-by: Adam Bem <adam.bem@zoho.eu> Reviewed-on: #193 Reviewed-by: Mikolaj Widla <widlam@noreply.example.com>
This commit is contained in:
		| @@ -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/ | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user