olimp/roles/qbittorrent/templates/docker-compose.yml.j2
Administrator c3e138bd81 Update 2 files
- /group_vars/all.yml
- /roles/qbittorrent/templates/docker-compose.yml.j2
2025-12-08 10:19:25 +05:00

28 lines
778 B
Django/Jinja

---
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
- TZ={{ timezone }}
- WEBUI_PORT={{ qbittorrent_port_webui }}
- WEBUI_USERNAME={{ qbittorrent_webui_username }}
- WEBUI_PASSWORD={{ qbittorrent_webui_password }}
- TORRENTING_PORT=6881
volumes:
- {{ qbittorrent_config_dir }}:/config
- {{ qbittorrent_downloads_dir }}:/downloads
ports:
- {{ qbittorrent_port_web }}:8080
- {{ qbittorrent_port_tcp }}:6881
- {{ qbittorrent_port_udp }}:6881/udp
restart: unless-stopped
networks:
- default
networks:
default:
name: qbittorrent_network
driver: bridge