diff --git a/project/media/qbittorrent/qbittorrent.yml b/project/media/qbittorrent/qbittorrent.yml new file mode 100644 index 0000000..258fbb3 --- /dev/null +++ b/project/media/qbittorrent/qbittorrent.yml @@ -0,0 +1,26 @@ +services: + qbittorrent: + extends: + file: ${TEMPLATES_PATH} + service: default + image: lscr.io/linuxserver/qbittorrent:latest + container_name: qbittorrent + ports: + - 2002:2002 + - 6881:6881 + - 6881:6881/udp + environment: + - WEBUI_PORT=2002 + - TORRENTING_PORT=6881 + volumes: + - ${MEDIA_PATH}/qbittorrent/config:/config + - ${MEDIA_PATH}/qbittorrent/downloads:/downloads # do not use this folder, see https://wiki.servarr.com/docker-guide#consistent-and-well-planned-paths -> issues + - ${MEDIA_PATH}/data/torrents:/data/torrents + labels: + # Watchtower + - "com.centurylinklabs.watchtower.enable=true" + # Traefik + - "traefik.enable=true" + - "traefik.http.routers.qbittorrent.rule=Host(`qbittorrent.${LOCAL_DOMAIN}`)" + - "traefik.http.routers.qbittorrent.entrypoints=https" + - 'traefik.http.routers.qbittorrent.tls=true' \ No newline at end of file