more mounts
This commit is contained in:
parent
068ebc7b31
commit
b3ac0e2a4a
1 changed files with 6 additions and 2 deletions
|
|
@ -19,8 +19,10 @@ in
|
|||
"${name}" = {
|
||||
image = "dialmaster/youtarr:latest";
|
||||
volumes = [
|
||||
"${hostDataDir}/config:/config"
|
||||
"${mediaDir}:/downloads"
|
||||
"${hostDataDir}/config:/app/config"
|
||||
"${hostDataDir}/images:/app/server/images"
|
||||
"${hostDataDir}/jobs:/app/jobs"
|
||||
"${mediaDir}:/usr/src/app/data"
|
||||
];
|
||||
environment = {
|
||||
PUID = toString uid;
|
||||
|
|
@ -65,6 +67,8 @@ in
|
|||
systemd.tmpfiles.rules = [
|
||||
"d '${hostDataDir}' 0775 ${name} ${name} - -"
|
||||
"d '${hostDataDir}/config' 0775 ${name} ${name} - -"
|
||||
"d '${hostDataDir}/images' 0775 ${name} ${name} - -"
|
||||
"d '${hostDataDir}/jobs' 0775 ${name} ${name} - -"
|
||||
"d '${hostDataDir}/database' 0775 999 999 - -"
|
||||
"d '${mediaDir}' 0775 ${name} ${name} - -"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue