diff --git a/main.yml b/main.yml index 06f436a..5b48632 100644 --- a/main.yml +++ b/main.yml @@ -43,6 +43,9 @@ - name: Deploy Vaultwarden import_tasks: tasks/vaultwarden.yml tags: vaultwarden_deploy + - name: Deploy Tautulli + import_tasks: tasks/tautulli.yml + tags: tautulli_deploy - name: Deploy Immich import_tasks: tasks/immich.yml tags: immich_deploy diff --git a/tasks/tautulli.yml b/tasks/tautulli.yml new file mode 100644 index 0000000..a526bd1 --- /dev/null +++ b/tasks/tautulli.yml @@ -0,0 +1,25 @@ +--- +- name: Deploy Tautulli + include_role: + name: docker + vars: + name: tautulli + directories: + - "{{ data_dir }}/tautulli" + image: + name: ghcr.io/tautulli/tautulli + tag: latest + networks: + - name: homelab + volumes: + - "{{ data_dir }}/tautulli:/config" + env: + PUID: "{{ PUID }}" + PGID: "{{ PGID }}" + TZ: "{{ TZ }}" + labels: + traefik.enable: "true" + traefik.http.routers.tt.rule: Host(`tt.fntz.net`) + traefik.http.routers.tt.entrypoints: webSecure + traefik.http.routers.tt.tls.certresolver: letsencrypt + traefik.http.services.tt.loadbalancer.server.port: "8181"