refactor: update docker-compose.override.yml to remove unused backups volume and streamline service configurations
This commit is contained in:
		
							parent
							
								
									f57f965e4c
								
							
						
					
					
						commit
						70863dd952
					
				
					 1 changed files with 10 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -15,7 +15,6 @@ services:
 | 
			
		|||
    image: docker.io/library/postgres:${POSTGRES_TAG:?POSTGRES_TAG is not configured}
 | 
			
		||||
    volumes:
 | 
			
		||||
      - database:/var/lib/postgresql/data
 | 
			
		||||
      - backups_db:/var/lib/postgresql/backups
 | 
			
		||||
    networks:
 | 
			
		||||
      - backend
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -29,6 +28,10 @@ services:
 | 
			
		|||
    environment:
 | 
			
		||||
      AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:?PG_PASS is required. - Password for authentik's postgresql database}
 | 
			
		||||
    ports: []
 | 
			
		||||
    volumes:
 | 
			
		||||
      - media:/media
 | 
			
		||||
      - ./data/authentik/custom-templates:/templates
 | 
			
		||||
      - geoip:/geoip
 | 
			
		||||
    networks:
 | 
			
		||||
      - backend
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -38,18 +41,20 @@ services:
 | 
			
		|||
      AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS:?PG_PASS is required. - Password for authentik's postgresql database}
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /var/run/docker.sock:/var/run/docker.sock
 | 
			
		||||
      - ./data/authentik/media:/media
 | 
			
		||||
      - ./data/authentik/certs:/certs
 | 
			
		||||
      - media:/media
 | 
			
		||||
      - certs:/certs
 | 
			
		||||
      - ./data/authentik/custom-templates:/templates
 | 
			
		||||
      - geoip:/geoip
 | 
			
		||||
    networks:
 | 
			
		||||
      - backend
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
  backups_db:
 | 
			
		||||
    driver: local
 | 
			
		||||
  geoip:
 | 
			
		||||
    driver: local
 | 
			
		||||
  media:
 | 
			
		||||
    driver: local
 | 
			
		||||
  certs:
 | 
			
		||||
    driver: local
 | 
			
		||||
 | 
			
		||||
networks:
 | 
			
		||||
  backend:
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue