Jafner.net/homelab/fighter/config/qbittorrent/docker-compose.yml

50 lines
1.5 KiB
YAML
Raw Normal View History

2024-02-15 02:09:59 -08:00
version: '3.9'
2022-06-24 16:45:57 -07:00
services:
qbittorrent:
2024-07-16 14:25:20 -07:00
image: linuxserver/qbittorrent@sha256:9a1e2c2925b85230bde4a0b450ef132e9c97ede934fb5a13d33eddf8599090e2
container_name: qbittorrent_qbittorrent
deploy:
resources:
limits:
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
- ./discord_notifier.sh:/discord_notifier.sh
2024-04-25 11:39:56 -07:00
- ./discord_notifier_secrets.env:/discord_notifier_secrets.env
2022-06-24 16:45:57 -07:00
env_file:
- path: ./qbittorrent.env
required: true
2022-06-24 16:45:57 -07:00
ports:
2024-02-15 01:05:32 -08:00
- 49510:49510
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
- traefik.http.routers.qbt.middlewares=traefik-forward-auth-privileged@file
- traefik.http.routers.qbt-api.rule=Host(`api.qbt.jafner.net`)
- traefik.http.routers.qbt-api.tls.certresolver=lets-encrypt
- traefik.http.routers.qbt-api.middlewares=lan-only@file
2022-07-12 01:04:31 -07:00
- traefik.http.services.qbt.loadbalancer.server.port=8080
exporter-qbittorrent:
2024-07-16 14:25:20 -07:00
image: esanchezm/prometheus-qbittorrent-exporter@sha256:f2e7212df02988d4cbe3415bc489739238dd0c6073050b5eb3052e9c87e5e30e
container_name: qbittorrent_exporter
env_file:
- path: ./exporter.env
required: true
restart: "no"
networks:
- monitoring
- web
labels:
- traefik.enable=false
2022-06-24 16:45:57 -07:00
networks:
web:
external: true
monitoring:
2024-02-15 01:05:32 -08:00
external: true