Add music to jellyfin and plex
This commit is contained in:
parent
641c13af15
commit
ea38aafdc6
|
@ -87,7 +87,8 @@
|
||||||
"32414:32414"
|
"32414:32414"
|
||||||
"32469:32469"
|
"32469:32469"
|
||||||
];
|
];
|
||||||
volumes = [ "/var/lib/plex:/config" "/mnt/plex:/media" ];
|
volumes =
|
||||||
|
[ "/var/lib/plex:/config" "/mnt/plex:/media" "/mnt/music:/music" ];
|
||||||
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
||||||
};
|
};
|
||||||
# Configure jellyfin
|
# Configure jellyfin
|
||||||
|
@ -100,7 +101,8 @@
|
||||||
"DOCKER_MODS" = "linuxserver/mods:jellyfin-opencl-intel";
|
"DOCKER_MODS" = "linuxserver/mods:jellyfin-opencl-intel";
|
||||||
};
|
};
|
||||||
ports = [ "8096:8096" "8920:8920" ];
|
ports = [ "8096:8096" "8920:8920" ];
|
||||||
volumes = [ "/var/lib/jellyfin:/config" "/mnt/plex:/media" ];
|
volumes =
|
||||||
|
[ "/var/lib/jellyfin:/config" "/mnt/plex:/media" "/mnt/music:/music" ];
|
||||||
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
||||||
};
|
};
|
||||||
# Configure tatulli - Plex Stats
|
# Configure tatulli - Plex Stats
|
||||||
|
@ -194,8 +196,8 @@
|
||||||
};
|
};
|
||||||
# Make the containers depend on their mounts
|
# Make the containers depend on their mounts
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
"podman-plex" = { requires = [ "mnt-plex.mount" ]; };
|
"podman-plex" = { requires = [ "mnt-music.mount" "mnt-plex.mount" ]; };
|
||||||
"podman-jellyfin" = { requires = [ "mnt-plex.mount" ]; };
|
"podman-jellyfin" = { requires = [ "mnt-music.mount" "mnt-plex.mount" ]; };
|
||||||
"podman-sabnzbd" = { requires = [ "mnt-scratch.mount" ]; };
|
"podman-sabnzbd" = { requires = [ "mnt-scratch.mount" ]; };
|
||||||
"podman-lidarr" = { requires = [ "mnt-music.mount" ]; };
|
"podman-lidarr" = { requires = [ "mnt-music.mount" ]; };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue