homelab/server/config/qbittorrent/docker-compose.yml

28 lines
880 B
YAML
Raw Normal View History

2022-06-24 16:45:57 -07:00
version: "3"
services:
qbittorrent:
image: linuxserver/qbittorrent
container_name: qbittorrent
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:
- .env
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
2022-07-12 01:01:15 -07:00
- traefik.http.routers.qbt.middlewares=authentik@file
- traefik.http.routers.qbt.priority=10
2022-07-12 01:02:46 -07:00
- traefik.http.service.qbt.loadbalancer.server.port=8080
2022-07-12 01:01:15 -07:00
- 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.services=http://authentik-server:9000/outpost.goauthentik.io
2022-06-24 16:45:57 -07:00
networks:
web:
external: true