Transmission: Use volume mounts

This commit is contained in:
taudris 2023-11-27 22:26:08 -08:00
parent c595ff8d0f
commit 5b961edcb5
1 changed files with 19 additions and 3 deletions

View File

@ -20,7 +20,23 @@ services:
tmpfs:
- /tmp
volumes:
- /etc/transmission/torrent-files/.config:/config
- /etc/transmission/torrent-files/Pickup:/watch
- /etc/transmission/torrents:/downloads/
- config:/config
#- torrent_files/Pickup:/watch
- downloads:/downloads/
restart: unless-stopped
volumes:
config:
name: transmission_torrent-files
driver: local
driver_opts:
type: cifs
device: //ws22-fs.taudris.com/Resilient/Torrents/transmission
o: addr=ws22-fs.taudris.com,username=transmission,password=Jh9rRLYNExeDELTPVgKVnPkjiFKpp7wrVkyPqUWzh98MjRT3xJxCxniT6CSYA4Cz,rw,_netdev,vers=3.1.1,noserverino,mfsymlinks,seal,uid=1001,gid=1001,file_mode=0770,dir_mode=0770,echo_interval=2,handletimeout=4000
downloads:
name: transmission_downloads
driver: local
driver_opts:
type: cifs
device: //ws22-fs.taudris.com/Bulk/Torrents
o: addr=ws22-fs.taudris.com,username=transmission,password=Jh9rRLYNExeDELTPVgKVnPkjiFKpp7wrVkyPqUWzh98MjRT3xJxCxniT6CSYA4Cz,rw,_netdev,vers=3.1.1,noserverino,mfsymlinks,seal,uid=1001,gid=1001,file_mode=0770,dir_mode=0770,echo_interval=2,handletimeout=4000