Setup jellyfin
This commit is contained in:
parent
3478d5a2ae
commit
4cca8b7b1a
|
@ -90,6 +90,20 @@
|
||||||
volumes = [ "/var/lib/plex:/config" "/mnt/plex:/media" ];
|
volumes = [ "/var/lib/plex:/config" "/mnt/plex:/media" ];
|
||||||
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
||||||
};
|
};
|
||||||
|
# Configure jellyfin
|
||||||
|
"jellyfin" = {
|
||||||
|
image = "lscr.io/linuxserver/jellyfin:latest";
|
||||||
|
environment = {
|
||||||
|
"PUID" = "1000";
|
||||||
|
"PGID" = "1000";
|
||||||
|
"TZ" = "America/New_York";
|
||||||
|
# "JELLFIN_PublishedServerUrl" = "jellyfin.mccarty.io";
|
||||||
|
"DOCKER_MODS" = "linuxserver/mods:jellyfin-opencl-intel";
|
||||||
|
};
|
||||||
|
ports = [ "8096:8096" "8920:8920" ];
|
||||||
|
volumes = [ "/var/lib/jellyfin:/config" "/mnt/plex:/media" ];
|
||||||
|
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
||||||
|
};
|
||||||
# Configure tatulli - Plex Stats
|
# Configure tatulli - Plex Stats
|
||||||
"tautulli" = {
|
"tautulli" = {
|
||||||
image = "lscr.io/linuxserver/tautulli:latest";
|
image = "lscr.io/linuxserver/tautulli:latest";
|
||||||
|
@ -182,6 +196,7 @@
|
||||||
# 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-plex.mount" ]; };
|
||||||
|
"podman-jellyfin" = { requires = [ "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" ]; };
|
||||||
};
|
};
|
||||||
|
|
|
@ -199,6 +199,17 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"jellyfin.mccarty.io" = {
|
||||||
|
forceSSL = true;
|
||||||
|
useACMEHost = "mccarty.io";
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://100.121.150.78:8920";
|
||||||
|
extraConfig = ''
|
||||||
|
allow 100.64.0.0/10;
|
||||||
|
deny all;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
"calibre.mccarty.io" = {
|
"calibre.mccarty.io" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "mccarty.io";
|
useACMEHost = "mccarty.io";
|
||||||
|
|
Loading…
Reference in New Issue