This install assumes that Docker has been installed previously, and extends the Docker stack created for the Traefik Reverse Proxy.
Tautulli runs alongside the Plex Media Server to monitor activities and track various statistics. Most importantly, these statistics include what has been watched, who watched it, when and where they watched it, and how it was watched. The only thing missing is “why they watched it”, but who am I to question your 42 plays of Frozen. All statistics are presented in a nice and clean interface with many tables and graphs, which makes it easy to brag about your server to everyone else.
Install Tautulli
Create folders for Tautulli data
1
2
cd ~/docker
mkdir tautulli
Add the following service definition to dc-tautulli.yml in docker root folder
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: "3.9"
# NETWORKS ####################################################
networks:
traefik_proxy:
external: true
# SERVICES ####################################################
services:
tautulli:
image: lscr.io/linuxserver/tautulli:latest
container_name: tautulli
networks:
- traefik_proxy
security_opt:
- no-new-privileges:true
restart: unless-stopped
ports:
- 8181:8181
volumes:
- $DOCKERDIR/tautulli:/config
environment:
TZ: $TZ
PUID: $PUID
PGID: $PGID
labels:
- "traefik.enable=true"
# HTTPS Auth Bypass
#- "traefik.http.routers.tautulli-rtr-bypass.entrypoints=https"
#- "traefik.http.routers.tautulli-rtr-bypass.rule=Host(`tautulli.$DOMAINNAME_CLOUD_SERVER`)" # && (Headers(`X-Api-Key`, `$TAUTULLI_API_KEY`) || Query(`apikey`, `$TAUTULLI_API_KEY`))"
#- "traefik.http.routers.tautulli-rtr-bypass.priority=100"
# HTTPS
- "traefik.http.routers.tautulli-secure.entrypoints=web_https"
- "traefik.http.routers.tautulli-secure.rule=Host(`tautulli.$DOMAINNAME_CLOUD_SERVER`)"
- "traefik.http.routers.tautulli-secure.priority=99"
- "traefik.http.routers.tautulli-secure.tls=true"
</span>
- "traefik.http.routers.tautulli-secure.service=tautulli-svc"
#- "traefik.http.routers.tautulli-rtr-bypass.service=tautulli-svc"
- "traefik.http.services.tautulli-svc.loadbalancer.server.port=8181"
From the Docker root folder, run this command to build the container:
1
sudo docker compose -f dc-tautulli.yml up -d
Configure Tautulli
- Go to Tautulli web GUI at https://tautulli.bbproj.org, which will open the Welcome! page, click Next
- Enter HTTP Username = tautulli_user, HTTP Password = [STRONGBOX], click Next
- Sign into Plex Account using email, should get Authentication successful. Click Next
- Select the Plex Media Server from the dropdown, tick Use Secure Connection. Click Verify, should get Server found!. Click Next
- At Activity Logging page, accept default, click Next
- At Notifications page, accept default, click Next
- At Database Import page, click Finish
Heimdall interface
To allow Heimdall dashboard to use Tautulli API, go to Cogs -> Settings, Web Interface and copy the API key. Use key in Heimdall Config section
Resources
- Tautulli on Docker at hub.docker.com