fix(docker-compose): uncomment timezone volume mappings for nginx and bitpoll services
This commit is contained in:
		
							parent
							
								
									8ff5945c8b
								
							
						
					
					
						commit
						1c064021c0
					
				
					 1 changed files with 6 additions and 7 deletions
				
			
		| 
						 | 
					@ -8,8 +8,8 @@ services:
 | 
				
			||||||
      - bitpoll
 | 
					      - bitpoll
 | 
				
			||||||
    read_only: true
 | 
					    read_only: true
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      # - /etc/localtime:/etc/localtime:ro
 | 
					      - /etc/localtime:/etc/localtime:ro
 | 
				
			||||||
      # - /etc/timezone:/etc/timezone:ro
 | 
					      - /etc/timezone:/etc/timezone:ro
 | 
				
			||||||
      - ./data/config/nginx-templates:/etc/nginx/templates:ro
 | 
					      - ./data/config/nginx-templates:/etc/nginx/templates:ro
 | 
				
			||||||
      - static:/var/www
 | 
					      - static:/var/www
 | 
				
			||||||
    tmpfs:
 | 
					    tmpfs:
 | 
				
			||||||
| 
						 | 
					@ -46,9 +46,6 @@ services:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bitpoll:
 | 
					  bitpoll:
 | 
				
			||||||
    image: ghcr.io/fsinfuhh/bitpoll:${BITPOLL_TAG:?BITPOLL_TAG is not configured}
 | 
					    image: ghcr.io/fsinfuhh/bitpoll:${BITPOLL_TAG:?BITPOLL_TAG is not configured}
 | 
				
			||||||
    build:
 | 
					 | 
				
			||||||
      dockerfile: Dockerfile
 | 
					 | 
				
			||||||
      context: ./src
 | 
					 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
    depends_on:
 | 
					    depends_on:
 | 
				
			||||||
      db:
 | 
					      db:
 | 
				
			||||||
| 
						 | 
					@ -60,8 +57,8 @@ services:
 | 
				
			||||||
    networks:
 | 
					    networks:
 | 
				
			||||||
      - appnet
 | 
					      - appnet
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      # - /etc/localtime:/etc/localtime:ro
 | 
					      - /etc/localtime:/etc/localtime:ro
 | 
				
			||||||
      # - /etc/timezone:/etc/timezone:ro
 | 
					      - /etc/timezone:/etc/timezone:ro
 | 
				
			||||||
      - static:/opt/static
 | 
					      - static:/opt/static
 | 
				
			||||||
      - ./data/config/bitpoll:/opt/config
 | 
					      - ./data/config/bitpoll:/opt/config
 | 
				
			||||||
      - log:/opt/log
 | 
					      - log:/opt/log
 | 
				
			||||||
| 
						 | 
					@ -84,6 +81,8 @@ services:
 | 
				
			||||||
    networks:
 | 
					    networks:
 | 
				
			||||||
      - appnet
 | 
					      - appnet
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - /etc/localtime:/etc/localtime:ro
 | 
				
			||||||
 | 
					      - /etc/timezone:/etc/timezone:ro
 | 
				
			||||||
      - db:/var/lib/postgresql/data:rw
 | 
					      - db:/var/lib/postgresql/data:rw
 | 
				
			||||||
 | 
					
 | 
				
			||||||
volumes:
 | 
					volumes:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue