-
Notifications
You must be signed in to change notification settings - Fork 3
/
qbittorrent.yml
38 lines (36 loc) · 1.06 KB
/
qbittorrent.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: "3.7"
services:
qbittorrent:
image: ghcr.io/linuxserver/qbittorrent:latest
networks:
- overlay_network
ports:
- ${HTPC_DELUGE_DOWNLOAD_PORT}:6881
environment:
- PUID=${PUID}
- PGID=${GROUP_ID_DOWNLOADERS}
- TZ=${TZ}
- UMASK=007
volumes:
- "${HTPC_CONFIG_DIR}/qbittorrent:/config"
- "${HTPC_COMPLETED_DIR}:/downloads"
- "${HTPC_INCOMPLETE_DIR}:/incomplete"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 2m
timeout: 5s
retries: 3
start_period: 1m
deploy:
restart_policy:
condition: on-failure
labels:
- traefik.enable=true
- traefik.http.routers.qbittorrent.entrypoints=websecure
- traefik.http.routers.qbittorrent.rule=Host(`qbittorrent.${HTPC_DOMAIN}`)
- traefik.http.routers.qbittorrent.tls=true
- traefik.http.routers.qbittorrent.middlewares=auth
- traefik.http.services.qbittorrent.loadbalancer.server.port=8080
networks:
overlay_network:
external: true