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
 | 
			
		||||
    read_only: true
 | 
			
		||||
    volumes:
 | 
			
		||||
      # - /etc/localtime:/etc/localtime:ro
 | 
			
		||||
      # - /etc/timezone:/etc/timezone:ro
 | 
			
		||||
      - /etc/localtime:/etc/localtime:ro
 | 
			
		||||
      - /etc/timezone:/etc/timezone:ro
 | 
			
		||||
      - ./data/config/nginx-templates:/etc/nginx/templates:ro
 | 
			
		||||
      - static:/var/www
 | 
			
		||||
    tmpfs:
 | 
			
		||||
| 
						 | 
				
			
			@ -46,9 +46,6 @@ services:
 | 
			
		|||
 | 
			
		||||
  bitpoll:
 | 
			
		||||
    image: ghcr.io/fsinfuhh/bitpoll:${BITPOLL_TAG:?BITPOLL_TAG is not configured}
 | 
			
		||||
    build:
 | 
			
		||||
      dockerfile: Dockerfile
 | 
			
		||||
      context: ./src
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    depends_on:
 | 
			
		||||
      db:
 | 
			
		||||
| 
						 | 
				
			
			@ -60,8 +57,8 @@ services:
 | 
			
		|||
    networks:
 | 
			
		||||
      - appnet
 | 
			
		||||
    volumes:
 | 
			
		||||
      # - /etc/localtime:/etc/localtime:ro
 | 
			
		||||
      # - /etc/timezone:/etc/timezone:ro
 | 
			
		||||
      - /etc/localtime:/etc/localtime:ro
 | 
			
		||||
      - /etc/timezone:/etc/timezone:ro
 | 
			
		||||
      - static:/opt/static
 | 
			
		||||
      - ./data/config/bitpoll:/opt/config
 | 
			
		||||
      - log:/opt/log
 | 
			
		||||
| 
						 | 
				
			
			@ -84,6 +81,8 @@ services:
 | 
			
		|||
    networks:
 | 
			
		||||
      - appnet
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /etc/localtime:/etc/localtime:ro
 | 
			
		||||
      - /etc/timezone:/etc/timezone:ro
 | 
			
		||||
      - db:/var/lib/postgresql/data:rw
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue