Cloned radarr role to other roles

This commit is contained in:
Mike Wilson
2023-02-01 21:15:30 -05:00
parent 2cec34cfc9
commit 1535c7bd49
15 changed files with 157 additions and 67 deletions

View File

@@ -5,20 +5,20 @@ networks:
external: true
services:
qbittorrent:
container_name: qbittorrent
{{ role_name }}:
container_name: "{{ role_name }}"
image: lscr.io/linuxserver/qbittorrent:libtorrentv1
restart: unless-stopped
network_mode: "container:gluetun"
networks:
- traefik
environment:
- PUID={{ primary_uid }}
- PGID={{ media_gid }}
- TZ={{ timezone }}
- DOCKER_MODS=arafatamim/linuxserver-io-mod-vuetorrent
- "PUID={{ service_user.uid }}"
- "PGID={{ media_gid }}"
- "TZ={{ timezone }}"
volumes:
- "{{ data_dir }}/qbittorrent:/config"
- "{{ data_dir }}/{{ role_name }}:/config"
- "{{ media_storage_mnt }}/data/torrents:/downloads"
labels:
traefik.enable: true
traefik.http.routers.qbittorrent.rule: "Host(`qbittorrent.local.{{ personal_domain }}`)"
traefik.http.routers.qbittorrent.middlewares: lan-whitelist@file
traefik.http.routers.{{ role_name }}.rule: "Host(`{{ role_name }}.local.{{ personal_domain }}`)"
traefik.http.routers.{{ role_name }}.middlewares: lan-whitelist@file