2022-06-24 16:45:57 -07:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
qbittorrent:
|
|
|
|
image: linuxserver/qbittorrent
|
2022-07-13 13:35:56 -07:00
|
|
|
container_name: qbittorrent_qbittorrent
|
2022-08-10 09:07:21 -07:00
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
2022-11-04 23:51:10 -07:00
|
|
|
memory: 6G
|
2022-06-24 16:45:57 -07:00
|
|
|
networks:
|
|
|
|
- web
|
|
|
|
restart: "no"
|
2022-06-24 17:12:13 -07:00
|
|
|
volumes:
|
|
|
|
- $DOCKER_DATA:/config
|
|
|
|
- $TORRENT_DATA:/torrenting
|
2022-06-24 16:45:57 -07:00
|
|
|
env_file:
|
2022-11-01 00:34:43 -07:00
|
|
|
- qbittorrent.env
|
2022-06-24 16:45:57 -07:00
|
|
|
ports:
|
2022-06-24 17:25:36 -07:00
|
|
|
- 50000:50000
|
2022-06-24 16:45:57 -07:00
|
|
|
labels:
|
|
|
|
- traefik.http.routers.qbt.rule=Host(`qbt.jafner.net`)
|
|
|
|
- traefik.http.routers.qbt.tls.certresolver=lets-encrypt
|
2023-01-11 21:20:19 -08:00
|
|
|
- traefik.http.routers.qbt.middlewares=traefik-forward-auth-privileged@file
|
2022-07-12 01:04:31 -07:00
|
|
|
- traefik.http.services.qbt.loadbalancer.server.port=8080
|
2022-07-13 19:49:54 -07:00
|
|
|
# - traefik.http.routers.qbt.priority=10
|
|
|
|
# - traefik.http.routers.qbt-auth.rule=Host(`qbt.jafner.net`) && PathPrefix(`/outpost.goauthentik.io/`)
|
|
|
|
# - traefik.http.routers.qbt-auth.priority=15
|
|
|
|
# - traefik.http.routers.qbt-auth.service=authentik-auth@file
|
2023-03-04 23:43:46 -08:00
|
|
|
exporter-qbittorrent:
|
|
|
|
image: esanchezm/prometheus-qbittorrent-exporter
|
|
|
|
container_name: qbittorrent_exporter
|
|
|
|
env_file:
|
|
|
|
- exporter.env
|
|
|
|
restart: "no"
|
|
|
|
networks:
|
|
|
|
- monitoring
|
|
|
|
- web
|
|
|
|
labels:
|
|
|
|
- traefik.enable=false
|
2022-06-24 16:45:57 -07:00
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
2023-03-04 23:48:40 -08:00
|
|
|
external: true
|
|
|
|
monitoring:
|
2022-06-24 16:45:57 -07:00
|
|
|
external: true
|