Files
home-server-docker/project/media/qbittorrent/qbittorrent.yml
2025-06-09 12:29:21 +02:00

29 lines
965 B
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
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'