add qbittorrent
This commit is contained in:
26
project/media/qbittorrent/qbittorrent.yml
Normal file
26
project/media/qbittorrent/qbittorrent.yml
Normal 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'
|
||||||
Reference in New Issue
Block a user