diff --git a/machines/perception/configuration.nix b/machines/perception/configuration.nix index bfbd2a6..2efebb9 100644 --- a/machines/perception/configuration.nix +++ b/machines/perception/configuration.nix @@ -105,6 +105,13 @@ [ "/var/lib/jellyfin:/config" "/mnt/plex:/media" "/mnt/music:/music" ]; extraOptions = [ "--device=/dev/dri:/dev/dri" ]; }; + # Configure jellyseerr + "jellyseerr" = { + image = "fallenbagel/jellyseerr:latest"; + environment = { "TZ" = "America/New_York"; }; + ports = [ "5055:5055" ]; + volumes = [ "/var/lib/jellyseerr:/app/config" ]; + }; # Configure kavita "kavita" = { image = "kizaing/kavita:latest"; diff --git a/machines/tounge/configuration.nix b/machines/tounge/configuration.nix index 50a1f10..2bf8649 100644 --- a/machines/tounge/configuration.nix +++ b/machines/tounge/configuration.nix @@ -209,13 +209,24 @@ ''; }; }; + "jellyseerr.mccarty.io" = { + forceSSL = true; + useACMEHost = "mccarty.io"; + locations."/" = { + proxyPass = "http://100.121.150.78:5055"; + extraConfig = '' + allow all; + ''; + }; + }; "tdarr.mccarty.io" = { forceSSL = true; useACMEHost = "mccarty.io"; locations."/" = { proxyPass = "http://100.121.150.78:8265"; extraConfig = '' - allow all; + allow 100.64.0.0/10; + deny all; ''; }; }; @@ -225,7 +236,8 @@ locations."/" = { proxyPass = "http://100.121.150.78:5000"; extraConfig = '' - allow all; + allow 100.64.0.0/10; + deny all; ''; }; };