mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-15 00:17:10 +00:00
ce21999f46
NOTE: The majority of traefik ports were totally broken and would never have worked. It should be the external port there, not the internal container port!. Port conflicts were fixed.
31 lines
No EOL
866 B
YAML
31 lines
No EOL
866 B
YAML
- name: Create Tautulli Directories
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
# mode: 0755
|
|
with_items:
|
|
- "{{ tautulli_config_directory }}"
|
|
- "{{ plex_logs }}"
|
|
|
|
- name: Tautulli Docker Container
|
|
docker_container:
|
|
name: tautulli
|
|
image: linuxserver/tautulli
|
|
pull: true
|
|
volumes:
|
|
- "{{ tautulli_config_directory }}:/config:rw"
|
|
- "{{ plex_logs }}:/logs:ro"
|
|
#network_mode: "host"
|
|
ports:
|
|
- "{{ tautulli_port }}:8181"
|
|
env:
|
|
TZ: "{{ ansible_nas_timezone }}"
|
|
PUID: "{{ tautulli_user_id }}"
|
|
PGID: "{{ tautulli_group_id }}"
|
|
restart_policy: unless-stopped
|
|
memory: 1g
|
|
labels:
|
|
traefik.backend: "tautulli"
|
|
traefik.frontend.rule: "Host:tautulli.{{ ansible_nas_domain }}"
|
|
traefik.enable: "{{ tautulli_available_externally }}"
|
|
traefik.port: "{{ tautulli_port }}" |