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