| 
									
										
										
										
											2022-11-03 12:05:27 +00:00
										 |  |  | version: "3.7"
 | 
					
						
							|  |  |  | services:
 | 
					
						
							|  |  |  |   bazarr:
 | 
					
						
							| 
									
										
										
										
											2023-11-29 05:43:51 +00:00
										 |  |  |     image: lscr.io/linuxserver/bazarr:1.4.0
 | 
					
						
							| 
									
										
										
										
											2022-11-03 12:05:27 +00:00
										 |  |  |     container_name: bazarr
 | 
					
						
							|  |  |  |     environment:
 | 
					
						
							|  |  |  |       - PUID=1000
 | 
					
						
							|  |  |  |       - PGID=1000
 | 
					
						
							|  |  |  |       - TZ=${TZ}
 | 
					
						
							|  |  |  |     dns:
 | 
					
						
							|  |  |  |       - ${DNS_IP}
 | 
					
						
							|  |  |  |     volumes:
 | 
					
						
							|  |  |  |       - /etc/localtime:/etc/localtime:ro
 | 
					
						
							|  |  |  |       - ${APP_DATA_DIR}/data:/config
 | 
					
						
							|  |  |  |       - ${ROOT_FOLDER_HOST}/media:/media
 | 
					
						
							|  |  |  |     ports:
 | 
					
						
							|  |  |  |       - ${APP_PORT}:6767
 | 
					
						
							|  |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     networks:
 | 
					
						
							|  |  |  |       - tipi_main_network
 | 
					
						
							| 
									
										
										
										
											2022-11-11 19:33:58 +00:00
										 |  |  |     labels:
 | 
					
						
							| 
									
										
										
										
											2023-06-10 14:46:05 +00:00
										 |  |  |       # Main
 | 
					
						
							|  |  |  |       traefik.enable: true
 | 
					
						
							|  |  |  |       traefik.http.middlewares.bazarr-web-redirect.redirectscheme.scheme: https
 | 
					
						
							|  |  |  |       traefik.http.services.bazarr.loadbalancer.server.port: 6767
 | 
					
						
							|  |  |  |       # Web
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-insecure.service: bazarr
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-insecure.middlewares: bazarr-web-redirect
 | 
					
						
							|  |  |  |       # Websecure
 | 
					
						
							| 
									
										
										
										
											2022-11-11 19:33:58 +00:00
										 |  |  |       traefik.http.routers.bazarr.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr.service: bazarr
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr.tls.certresolver: myresolver
 | 
					
						
							| 
									
										
										
										
											2023-06-10 14:46:05 +00:00
										 |  |  |       # Local domain
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-local-insecure.rule: Host(`bazarr.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-local-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-local-insecure.service: bazarr
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-local-insecure.middlewares: bazarr-web-redirect
 | 
					
						
							|  |  |  |       # Local domain secure
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-local.rule: Host(`bazarr.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-local.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-local.service: bazarr
 | 
					
						
							|  |  |  |       traefik.http.routers.bazarr-local.tls: true
 |