| 
									
										
										
										
											2022-07-28 17:46:12 +00:00
										 |  |  | version: "2.1"
 | 
					
						
							|  |  |  | services:
 | 
					
						
							|  |  |  |   tautulli:
 | 
					
						
							|  |  |  |     container_name: tautulli
 | 
					
						
							| 
									
										
										
										
											2023-05-23 18:40:45 +00:00
										 |  |  |     image: lscr.io/linuxserver/tautulli:2.12.4
 | 
					
						
							| 
									
										
										
										
											2022-07-28 17:46:12 +00:00
										 |  |  |     environment:
 | 
					
						
							|  |  |  |       - PUID=1000
 | 
					
						
							|  |  |  |       - PGID=1000
 | 
					
						
							|  |  |  |       - TZ=${TZ} # Can use any env variable. List in runtipi/templates/env-sample
 | 
					
						
							|  |  |  |     volumes:
 | 
					
						
							|  |  |  |       - ${APP_DATA_DIR}/data/config:/config
 | 
					
						
							|  |  |  |     ports:
 | 
					
						
							|  |  |  |       - ${APP_PORT}:8181
 | 
					
						
							|  |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     networks:
 | 
					
						
							| 
									
										
										
										
											2022-11-11 19:33:58 +00:00
										 |  |  |       - tipi_main_network
 | 
					
						
							|  |  |  |     labels:
 | 
					
						
							| 
									
										
										
										
											2023-06-18 16:02:29 +00:00
										 |  |  |       # Main
 | 
					
						
							|  |  |  |       traefik.enable: true
 | 
					
						
							|  |  |  |       traefik.http.middlewares.tautulli-web-redirect.redirectscheme.scheme: https
 | 
					
						
							|  |  |  |       traefik.http.services.tautulli.loadbalancer.server.port: 8181
 | 
					
						
							|  |  |  |       # Web
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-insecure.service: tautulli
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-insecure.middlewares: tautulli-web-redirect
 | 
					
						
							|  |  |  |       # Websecure
 | 
					
						
							| 
									
										
										
										
											2022-11-11 19:33:58 +00:00
										 |  |  |       traefik.http.routers.tautulli.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli.service: tautulli
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli.tls.certresolver: myresolver
 | 
					
						
							| 
									
										
										
										
											2023-06-18 16:02:29 +00:00
										 |  |  |       # Local domain
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-local-insecure.rule: Host(`tautulli.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-local-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-local-insecure.service: tautulli
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-local-insecure.middlewares: tautulli-web-redirect
 | 
					
						
							|  |  |  |       # Local domain secure
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-local.rule: Host(`tautulli.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-local.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-local.service: tautulli
 | 
					
						
							|  |  |  |       traefik.http.routers.tautulli-local.tls: true
 |