123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- ---
- - hosts: nas
- gather_facts: true
- become: true
- vars_files:
- - "{{ inventory_dir }}/vars/vault.yaml"
- vars:
- service_list: "smb" # non-container services
- backups: containers
- backups_ignore: /mergerfs
- firewall_ports:
- - 8080/tcp
- - 8081/tcp
- - 9091/tcp
- container_user: "{{ vaulted_container_user }}"
- container_uid: "{{ vaulted_media_uid }}"
- container_group: "{{ vaulted_container_group }}"
- container_gid: "{{ vaulted_media_gid }}"
- global_env_vars:
- - PUID={{ container_uid }}
- - PGID={{ container_gid }}
- container_networks:
- - name: downloaders
- driver: bridge
- subnet: 172.21.10.0/24
- ip_range: 172.21.10.0/24
- gateway: 172.21.10.1
- containers:
- - name: sickchill
- active: true
- image: linuxserver/sickchill
- ports:
- - 8081:8081
- volumes:
- - /opt/sickchill:/config
- - /mergerfs:/mergerfs
- include_global_env_vars: true
- restart: unless-stopped
- networks:
- - downloaders
- - name: transmission
- active: true
- image: linuxserver/transmission
- ports:
- - 9091:9091
- volumes:
- - /opt/transmission:/config
- - /mergerfs/private/processing:/mergerfs/private/processing
- include_global_env_vars: true
- environment:
- - USER={{ vaulted_nas_transmission_username }}
- - PASS={{ vaulted_nas_transmission_password }}
- restart: unless-stopped
- networks:
- - downloaders
- - name: qbittorrent
- active: true
- image: linuxserver/qbittorrent
- ports:
- - 8080:8080
- volumes:
- - /opt/qbittorrent:/config
- - /mergerfs/private/processing/qbittorrent:/mergerfs/private/processing/qbittorent
- include_global_env_vars: true
- environment:
- - WEBUI_PORT=8080
- restart: unless-stopped
- networks:
- - downloaders
- roles:
- - docker
- - cloud-backups
- - statusservices
|