Files
home-server-docker/project/media/qbittorrent/qbittorrent.yml

32 lines
1.1 KiB
YAML

services:
qbittorrent:
extends:
file: ${TEMPLATES_PATH}
service: default
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
ports:
- 2002:2002
- 50059:6881
- 50059:6881/udp
networks:
- ip4net
- ip6net
environment:
- WEBUI_PORT=2002
- TORRENTING_PORT=50059
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
- ${MEDIA_PATH}/data/downloaded/books:/data/downloaded/books
- ${EXTERNAL_STORAGE}/media/audiobooks:/data/downloaded/audiobooks
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'