21 lines
715 B
Django/Jinja
21 lines
715 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
|
|
volumes:
|
|
- "{{ qbittorrent_config_dir }}:/config"
|
|
- "{{ qbittorrent_downloads_dir }}:/downloads"
|
|
{% for share in qbittorrent_shares %}
|
|
- "{{ share.dest }}:{{ share.dest }}:rw"
|
|
{% endfor %}
|
|
ports:
|
|
- "{{ qbittorrent_port_webui }}:8080"
|
|
- "{{ qbittorrent_port_torrent }}:{{ qbittorrent_port_torrent }}/udp"
|
|
- "{{ qbittorrent_port_torrent }}:{{ qbittorrent_port_torrent }}/tcp"
|
|
restart: unless-stopped |