Files
home-server-docker/project/media/qbittorrent/qbittorrent.yml
2024-07-19 12:38:32 +02:00

28 lines
947 B
YAML

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
networks:
- ip4net
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'