Added qbitmanage and fixed cross-seed thing
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
version: "{{ docker_compose_version }}"
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
services:
|
||||
{{ role_name }}:
|
||||
container_name: "{{ role_name }}"
|
||||
qbittorrent:
|
||||
container_name: qbittorrent
|
||||
image: lscr.io/linuxserver/qbittorrent:libtorrentv1
|
||||
restart: unless-stopped
|
||||
network_mode: "container:gluetun"
|
||||
@@ -14,7 +10,7 @@ services:
|
||||
- "PUID={{ service_user.uid }}"
|
||||
- "PGID={{ media_gid }}"
|
||||
- "TZ={{ timezone }}"
|
||||
- DOCKER_MODS=arafatamim/linuxserver-io-mod-vuetorrent
|
||||
#- DOCKER_MODS=arafatamim/linuxserver-io-mod-vuetorrent
|
||||
volumes:
|
||||
- "{{ data_dir }}/{{ role_name }}:/config"
|
||||
- "{{ media_storage_mnt }}/data/torrents:/data/torrents"
|
||||
@@ -23,3 +19,38 @@ services:
|
||||
traefik.http.routers.{{ role_name }}.rule: "Host(`{{ role_name }}.local.{{ personal_domain }}`)"
|
||||
traefik.http.routers.{{ role_name }}.middlewares: lan-whitelist@file
|
||||
traefik.http.services.qbittorrent.loadbalancer.server.port: 8080
|
||||
|
||||
qbitmanage:
|
||||
container_name: qbitmanage
|
||||
image: cr.hotio.dev/hotio/qbitmanage
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PUID: "{{ service_user.uid }}"
|
||||
PGID: "{{ service_user.uid }}"
|
||||
UMASK: 002
|
||||
TZ: "{{ timezone }}"
|
||||
QBT_DRY_RUN: "False"
|
||||
QBT_SCHEDULE: 720
|
||||
QBT_RECHECK: "True"
|
||||
QBT_TAG_UPDATE: "True"
|
||||
QBT_REM_UNREGISTERED: "True"
|
||||
QBT_REMOVE_ORPHANED: "True"
|
||||
QBT_TAG_NOHARDLINKS: "True"
|
||||
|
||||
volumes:
|
||||
- "{{ data_dir }}/qbitmanage:/config"
|
||||
- "{{ media_storage_mnt }}/data/torrents:/data/torrents" # root_dir
|
||||
- "{{ data_dir }}/qbittorrent/qBittorrent/BT_backup:/torrents" # torrents_dir
|
||||
|
||||
cross-seed:
|
||||
container_name: cross-seed
|
||||
depends_on:
|
||||
- qbittorrent
|
||||
image: crossseed/cross-seed
|
||||
user: "{{ service_user.uid }}:{{ service_user.uid }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/cross-seed:/config"
|
||||
- "{{ data_dir }}/qbittorrent/qBittorrent/BT_backup:/torrents"
|
||||
- "{{ data_dir }}/cross-seed/output:/cross-seeds"
|
||||
command: daemon
|
||||
restart: unless-stopped
|
||||
|
Reference in New Issue
Block a user