Setup jellyfin
This commit is contained in:
parent
3478d5a2ae
commit
ff1fb9d6de
|
@ -90,6 +90,19 @@
|
|||
volumes = [ "/var/lib/plex:/config" "/mnt/plex:/media" ];
|
||||
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";
|
||||
};
|
||||
ports = [ "8096:8096" "8920:8920" "7359:7359" "1900:1900" ];
|
||||
volumes = [ "/var/lib/jellyfin:/config" "/mnt/plex:/media" ];
|
||||
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
|
||||
};
|
||||
# Configure tatulli - Plex Stats
|
||||
"tautulli" = {
|
||||
image = "lscr.io/linuxserver/tautulli:latest";
|
||||
|
@ -182,6 +195,7 @@
|
|||
# Make the containers depend on their mounts
|
||||
systemd.services = {
|
||||
"podman-plex" = { requires = [ "mnt-plex.mount" ]; };
|
||||
"podman-jellyfin" = { requires = [ "mnt-plex.mount" ]; };
|
||||
"podman-sabnzbd" = { requires = [ "mnt-scratch.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" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "mccarty.io";
|
||||
|
|
Loading…
Reference in New Issue