Add jellyseerr and fix DNS in containers

This commit is contained in:
Tyler Beckman 2025-01-06 01:13:10 -07:00
parent 84e2cc3b80
commit 426a2d5814
Signed by: Ty
GPG key ID: 2813440C772555A4
5 changed files with 34 additions and 1 deletions

View file

@ -23,12 +23,17 @@ https://*.m.myriation.xyz {
# Configure all service matchers # Configure all service matchers
@jellyfin host jellyfin.m.myriation.xyz @jellyfin host jellyfin.m.myriation.xyz
@jellyseerr host jellyseerr.m.myriation.xyz
# Handle all services # Handle all services
handle @jellyfin { handle @jellyfin {
reverse_proxy jellyfin.containers:8096 reverse_proxy jellyfin.containers:8096
} }
handle @jellyseerr {
reverse_proxy jellyseerr.containers:5055
}
# Handle all unmatched requests as a 404 # Handle all unmatched requests as a 404
handle { handle {
error "Not Found" 404 error "Not Found" 404

View file

@ -5,5 +5,6 @@
# Individual services # Individual services
./caddy ./caddy
./jellyfin ./jellyfin
./jellyseerr
]; ];
} }

View file

@ -11,6 +11,7 @@
# Firewall on the host system is enough + this firewall seems to break networking # Firewall on the host system is enough + this firewall seems to break networking
networking.firewall.enable = false; networking.firewall.enable = false;
networking.useHostResolvConf = true;
}; };
autoStart = true; autoStart = true;

View file

@ -0,0 +1,24 @@
{ ... }:
{
containers.jellyseerr = {
config = { pkgs, ... }: {
system.stateVersion = "25.11";
services.jellyseerr = {
enable = true;
package = pkgs.jellyseerr;
};
# Firewall on the host system is enough + this firewall seems to break networking
networking.firewall.enable = false;
networking.useHostResolvConf = true;
};
autoStart = true;
};
networking = {
firewall.trustedInterfaces = [ "ve-jellyseerr" ];
nat.internalInterfaces = [ "ve-jellyseerr" ];
networkmanager.unmanaged = [ "interface-name:ve-jellyseerr" ];
};
}

View file

@ -3,7 +3,9 @@ let
services = { services = {
jellyfin = { jellyfin = {
hostByte = 2; hostByte = 2;
ports = []; };
jellyseerr = {
hostByte = 3;
}; };
}; };
in { in {