olimp/roles/qbittorrent/templates/docker-compose.yml.j2
2025-12-08 11:56:09 +05:00

21 lines
585 B
Django/Jinja

---
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID={{ qbittorrent_puid }}
- PGID={{ qbittorrent_pgid }}
- TZ={{ timezone }}
- WEBUI_PORT=8080
- TORRENTING_PORT=6881
- WEBUI_USE_IP_HEADER=1
- WEBUI_HOST_HEADER=
volumes:
- {{ qbittorrent_config_dir }}:/config
- {{ qbittorrent_downloads_dir }}:/downloads
ports:
- {{ qbittorrent_port_webui }}:8080
- 6881:6881
- 6881:6881/udp
restart: unless-stopped