Store rtorrent
session files in volume
This commit is contained in:
parent
e4a41b6903
commit
c9e1ecac9d
2 changed files with 4 additions and 3 deletions
|
@ -81,7 +81,7 @@ services:
|
|||
volumes:
|
||||
- ./data/config/flood:/flood
|
||||
- ./data/downloads:/downloads
|
||||
- ./data/config/rtorrent:/rtorrent
|
||||
- rtorrent:/rtorrent
|
||||
rtorrent:
|
||||
build:
|
||||
dockerfile: ./rtorrent.Dockerfile
|
||||
|
@ -100,7 +100,7 @@ services:
|
|||
-o 'method.set=group.seeding.ratio.command, "d.cloase = ; d.erase = "'
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./data/config/rtorrent:/config
|
||||
- rtorrent:/config
|
||||
- ./data/downloads:/downloads
|
||||
- ./data/proton:/proton
|
||||
devices:
|
||||
|
@ -139,3 +139,4 @@ services:
|
|||
|
||||
volumes:
|
||||
cache: {}
|
||||
rtorrent: {}
|
||||
|
|
|
@ -66,7 +66,7 @@ begin
|
|||
URL="https://$(getServiceDomain "$domain" "")/" yq "$(getServiceKey "$service").environment.JELLYFIN_PublishedServerUrl = env(URL)" "$file" |
|
||||
sudo tee "$overrides" >/dev/null
|
||||
|
||||
for dir in "$root"/data/{downloads,config/{,jellyfin,flood,rtorrent,radarr,sonarr,lidarr,prowlarr},media/{,movies,series,music}}
|
||||
for dir in "$root"/data/{downloads,config/{,jellyfin,flood,radarr,sonarr,lidarr,prowlarr},media/{,movies,series,music}}
|
||||
sudo mkdir -p "$dir"
|
||||
and chown -R $uid:$gid "$dir"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue