Fixed timezone #193
@@ -1,5 +1,8 @@
 | 
				
			|||||||
FROM nginx:stable-alpine
 | 
					FROM nginx:stable-alpine
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN apk add --no-cache tzdata
 | 
				
			||||||
 | 
					ENV TZ Europe/Warsaw
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY ./tools/ /usr/share/nginx/html/tools/
 | 
					COPY ./tools/ /usr/share/nginx/html/tools/
 | 
				
			||||||
COPY ./lawful/ /usr/share/nginx/html/lawful/
 | 
					COPY ./lawful/ /usr/share/nginx/html/lawful/
 | 
				
			||||||
COPY ./assets/ /usr/share/nginx/html/assets/
 | 
					COPY ./assets/ /usr/share/nginx/html/assets/
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,9 +4,6 @@ services:
 | 
				
			|||||||
    redis:
 | 
					    redis:
 | 
				
			||||||
        image: 'redis'
 | 
					        image: 'redis'
 | 
				
			||||||
        restart: "no"
 | 
					        restart: "no"
 | 
				
			||||||
        volumes:
 | 
					 | 
				
			||||||
            - /etc/timezone:/etc/timezone:ro
 | 
					 | 
				
			||||||
            - /etc/localtime:/etc/localtime:ro
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    xmltools-frontend:
 | 
					    xmltools-frontend:
 | 
				
			||||||
        build: ./Frontend
 | 
					        build: ./Frontend
 | 
				
			||||||
@@ -14,9 +11,6 @@ services:
 | 
				
			|||||||
        image: xmltools-frontend
 | 
					        image: xmltools-frontend
 | 
				
			||||||
        ports:
 | 
					        ports:
 | 
				
			||||||
            - 8086:80
 | 
					            - 8086:80
 | 
				
			||||||
        volumes:
 | 
					 | 
				
			||||||
            - /etc/timezone:/etc/timezone:ro
 | 
					 | 
				
			||||||
            - /etc/localtime:/etc/localtime:ro
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    xmltools-backend:
 | 
					    xmltools-backend:
 | 
				
			||||||
        build: ./Backend/tools-services
 | 
					        build: ./Backend/tools-services
 | 
				
			||||||
@@ -31,9 +25,6 @@ services:
 | 
				
			|||||||
        image: xmltools-libxml-backend
 | 
					        image: xmltools-libxml-backend
 | 
				
			||||||
        ports:
 | 
					        ports:
 | 
				
			||||||
            - 8082:80
 | 
					            - 8082:80
 | 
				
			||||||
        volumes:
 | 
					 | 
				
			||||||
            - /etc/timezone:/etc/timezone:ro
 | 
					 | 
				
			||||||
            - /etc/localtime:/etc/localtime:ro
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    xmltools-mocked-services:
 | 
					    xmltools-mocked-services:
 | 
				
			||||||
        build:
 | 
					        build:
 | 
				
			||||||
@@ -47,9 +38,7 @@ services:
 | 
				
			|||||||
            - redis
 | 
					            - redis
 | 
				
			||||||
        environment:
 | 
					        environment:
 | 
				
			||||||
            SPRING_PROFILES_ACTIVE: DEV
 | 
					            SPRING_PROFILES_ACTIVE: DEV
 | 
				
			||||||
        volumes:
 | 
					            TZ: Europe/Warsaw
 | 
				
			||||||
            - /etc/timezone:/etc/timezone:ro
 | 
					 | 
				
			||||||
            - /etc/localtime:/etc/localtime:ro
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    swagger:
 | 
					    swagger:
 | 
				
			||||||
        image: "swaggerapi/swagger-ui:latest"
 | 
					        image: "swaggerapi/swagger-ui:latest"
 | 
				
			||||||
@@ -75,9 +64,6 @@ services:
 | 
				
			|||||||
        command:
 | 
					        command:
 | 
				
			||||||
            - "-e"
 | 
					            - "-e"
 | 
				
			||||||
            - "--strict.perms=false"
 | 
					            - "--strict.perms=false"
 | 
				
			||||||
        volumes:
 | 
					 | 
				
			||||||
            - /etc/timezone:/etc/timezone:ro
 | 
					 | 
				
			||||||
            - /etc/localtime:/etc/localtime:ro
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
networks:
 | 
					networks:
 | 
				
			||||||
    default:
 | 
					    default:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user