1
0

change qbittorrent data dir

This commit is contained in:
michael 2024-05-16 21:50:48 +12:00
parent 2d31a5524f
commit c8ab4633ca
4 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ docker_volumes:
driver: local driver: local
driver_options: driver_options:
type: none type: none
device: /media/nvme/downloads device: /downloads
o: bind o: bind
- name: torrent-config - name: torrent-config
driver: local driver: local
@ -78,4 +78,4 @@ docker_containers:
net.ipv6.conf.all.disable_ipv6: 1 net.ipv6.conf.all.disable_ipv6: 1
volumes: volumes:
- torrent-config:/config:rw - torrent-config:/config:rw
- torrent-data:/data:rw - torrent-data:/downloads:rw

View File

@ -1,5 +1,5 @@
torrent_user: kodi torrent_user: kodi
torrent_downloads_dir: /media/nvme/downloads torrent_downloads_dir: /downloads
torrent_wireguard_address: 10.2.0.2 torrent_wireguard_address: 10.2.0.2
torrent_wireguard_dns: 10.2.0.1 torrent_wireguard_dns: 10.2.0.1

View File

@ -12,4 +12,4 @@
# - role: aur_repo_client # - role: aur_repo_client
# - role: arr # - role: arr
- role: torrent - role: torrent
- role: sonarr # - role: sonarr

View File

@ -41,7 +41,7 @@
- docker_volumes | length > 0 - docker_volumes | length > 0
community.general.docker_volume: community.general.docker_volume:
driver: "{{ item.driver | default('local') }}" driver: "{{ item.driver | default('local') }}"
# driver_options: "{{ item.driver_options | default({}) }}" driver_options: "{{ item.driver_options | default({}) }}"
recreate: "never" recreate: "never"
state: "present" state: "present"
volume_name: "{{ item.name }}" volume_name: "{{ item.name }}"