33 lines
949 B
YAML
33 lines
949 B
YAML
services:
|
|
qbittorrent:
|
|
image: linuxserver/qbittorrent:latest
|
|
container_name: qbittorrent_qbittorrent
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 6G
|
|
networks:
|
|
- web
|
|
restart: "no"
|
|
volumes:
|
|
- $DOCKER_DATA:/config
|
|
- $TORRENT_DATA:/torrenting
|
|
environment:
|
|
PUID: 1001
|
|
PGID: 1001
|
|
TZ: America/Los_Angeles
|
|
WEBUI_PORT: 8080
|
|
ports:
|
|
- 49500:49500
|
|
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
|
|
- traefik.http.services.qbt.loadbalancer.server.port=8080
|
|
|
|
networks:
|
|
web:
|
|
external: true |