Create Longhorn volume for music
This commit is contained in:
parent
851a7d0dcf
commit
93ad02b2da
2 changed files with 14 additions and 5 deletions
|
@ -64,12 +64,17 @@ in {
|
|||
name = "cache";
|
||||
mountPath = "/config/transcodes";
|
||||
}
|
||||
{
|
||||
name = "music";
|
||||
mountPath = "/media/music";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
volumes = {
|
||||
config.persistentVolumeClaim.claimName = "jellyfin";
|
||||
cache.persistentVolumeClaim.claimName = "jellyfin-cache";
|
||||
music.persistentVolumeClaim.claimName = "music";
|
||||
|
||||
media.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/media";
|
||||
|
@ -736,6 +741,11 @@ in {
|
|||
volumeName = "bazarr";
|
||||
storage = "25Mi";
|
||||
};
|
||||
|
||||
music = lib.mkIf cfg.jellyfin.enable {
|
||||
volumeName = "music";
|
||||
storage = "70Gi";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue