homelab/fighter/config/qbittorrent/docker-compose.yml
Joey Hafner 1109cfd9e6
All checks were successful
Deploy to Fighter / Deploy (push) Successful in 17s
Deploy to Druid / Deploy (push) Successful in 18s
Deploy to Fighter / Notify (push) Successful in 2s
Deploy to Druid / Notify (push) Successful in 9s
Update all compose files to 3.9 spec
2024-02-15 02:09:59 -08:00

45 lines
1.0 KiB
YAML

version: '3.9'
services:
qbittorrent:
image: linuxserver/qbittorrent
container_name: qbittorrent_qbittorrent
deploy:
resources:
limits:
memory: 6G
networks:
- web
restart: "no"
volumes:
- $DOCKER_DATA:/config
- $TORRENT_DATA:/torrenting
env_file:
- path: ./qbittorrent.env
required: true
ports:
- 49510:49510
labels:
- traefik.http.routers.qbt.rule=Host(`qbt.jafner.net`)
- traefik.http.routers.qbt.tls.certresolver=lets-encrypt
- traefik.http.routers.qbt.middlewares=traefik-forward-auth-privileged@file
- traefik.http.services.qbt.loadbalancer.server.port=8080
exporter-qbittorrent:
image: esanchezm/prometheus-qbittorrent-exporter
container_name: qbittorrent_exporter
env_file:
- path: ./exporter.env
required: true
restart: "no"
networks:
- monitoring
- web
labels:
- traefik.enable=false
networks:
web:
external: true
monitoring:
external: true