28 lines
778 B
Django/Jinja
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 |