Add music to jellyfin and plex

This commit is contained in:
Nathan McCarty 2023-04-11 02:24:07 -04:00
parent 641c13af15
commit ea38aafdc6
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 6 additions and 4 deletions

View File

@ -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" ]; };
}; };