- /group_vars/all.yml - /roles/qbittorrent/tasks/main.yml - /roles/qbittorrent/templates/docker-compose.yml.j2 - /roles/qbittorrent/handlers/main.yml - /olimp-deploy.yml
26 lines
661 B
Django/Jinja
26 lines
661 B
Django/Jinja
---
|
|
services:
|
|
qbittorrent:
|
|
image: {{ qbittorrent_image }}
|
|
container_name: qbittorrent
|
|
environment:
|
|
- PUID={{ qbittorrent_puid }}
|
|
- PGID={{ qbittorrent_pgid }}
|
|
- TZ={{ timezone }}
|
|
- WEBUI_PORT=8080
|
|
- 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 |