fix(copyparty): preserve shared volume access

This commit is contained in:
2026-09-03 16:21:09 -04:00
parent 494fecff76
commit 6af09b1ccb
2 changed files with 15 additions and 2 deletions

View File

@@ -111,7 +111,14 @@ in
readOnly = true;
};
}
// lib.mapAttrs' (_urlPath: volume: lib.nameValuePair volume.path { directory = volume.hostPath; }) cfg.volumes;
// lib.mapAttrs' (_urlPath: volume:
lib.nameValuePair volume.path {
directory = volume.hostPath;
owner = "root";
group = "storage";
mode = "2770";
}
) cfg.volumes;
limits = {
memory = lib.mkDefault "2G";
cpu = lib.mkDefault "200%";