add qbittorrent

This commit is contained in:
debian
2024-03-02 18:44:44 +01:00
parent e94f2adc9b
commit 22a94ca6cf

View File

@@ -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'