added whisparr
This commit is contained in:
parent
0b9cac295d
commit
7593d9efc8
2 changed files with 51 additions and 1 deletions
|
|
@ -5,12 +5,15 @@ let
|
||||||
prowlarr_port = cfg.arrstack.prowlarr.port;
|
prowlarr_port = cfg.arrstack.prowlarr.port;
|
||||||
radarr_port = cfg.arrstack.radarr.port;
|
radarr_port = cfg.arrstack.radarr.port;
|
||||||
sonarr_port = cfg.arrstack.sonarr.port;
|
sonarr_port = cfg.arrstack.sonarr.port;
|
||||||
|
whisparr_port = cfg.arrstack.whisparr.port;
|
||||||
sabnzbd_port = cfg.arrstack.sabnzbd.port;
|
sabnzbd_port = cfg.arrstack.sabnzbd.port;
|
||||||
outpost_port = cfg.authentik.outpostPort;
|
outpost_port = cfg.authentik.outpostPort;
|
||||||
domain = "mc-fucker.cool";
|
domain = "mc-fucker.cool";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
networking.firewall.interfaces.podman0.allowedTCPPorts = [ 12421 28917 ];
|
||||||
|
|
||||||
#container config
|
#container config
|
||||||
virtualisation.oci-containers.containers.bazarr = {
|
virtualisation.oci-containers.containers.bazarr = {
|
||||||
image = "lscr.io/linuxserver/bazarr:latest";
|
image = "lscr.io/linuxserver/bazarr:latest";
|
||||||
|
|
@ -55,6 +58,7 @@ in
|
||||||
"/var/lib/radarr:/config"
|
"/var/lib/radarr:/config"
|
||||||
"/mnt/arrstack:/data"
|
"/mnt/arrstack:/data"
|
||||||
"/mnt/gdrive/movies:/data/media/movies"
|
"/mnt/gdrive/movies:/data/media/movies"
|
||||||
|
"/mnt/box/files:/data/seedbox"
|
||||||
];
|
];
|
||||||
extraOptions = cfg.podman.extraOptions;
|
extraOptions = cfg.podman.extraOptions;
|
||||||
};
|
};
|
||||||
|
|
@ -71,6 +75,7 @@ in
|
||||||
"/var/lib/sonarr:/config"
|
"/var/lib/sonarr:/config"
|
||||||
"/mnt/arrstack:/data"
|
"/mnt/arrstack:/data"
|
||||||
"/mnt/gdrive/Serien:/data/media/tv"
|
"/mnt/gdrive/Serien:/data/media/tv"
|
||||||
|
"/mnt/box/files:/data/seedbox"
|
||||||
];
|
];
|
||||||
extraOptions = cfg.podman.extraOptions;
|
extraOptions = cfg.podman.extraOptions;
|
||||||
};
|
};
|
||||||
|
|
@ -91,6 +96,25 @@ in
|
||||||
extraOptions = cfg.podman.extraOptions;
|
extraOptions = cfg.podman.extraOptions;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.oci-containers.containers.whisparr = {
|
||||||
|
image = "cr.hotio.dev/hotio/whisparr";
|
||||||
|
environment = {
|
||||||
|
TZ = "Europe/Berlin";
|
||||||
|
PUID = "911";
|
||||||
|
PGID = "911";
|
||||||
|
};
|
||||||
|
ports = [
|
||||||
|
"${whisparr_port}:${whisparr_port}"
|
||||||
|
];
|
||||||
|
volumes = [
|
||||||
|
"/var/lib/whisparr:/config"
|
||||||
|
"/mnt/arrstack:/data"
|
||||||
|
"/mnt/genc/pron/whisparr:/data/media/ati"
|
||||||
|
#"/mnt/box/files:/data/seedbox"
|
||||||
|
];
|
||||||
|
extraOptions = cfg.podman.extraOptions;
|
||||||
|
};
|
||||||
|
|
||||||
#webserver config
|
#webserver config
|
||||||
imports = [ ./nginx.nix ];
|
imports = [ ./nginx.nix ];
|
||||||
|
|
||||||
|
|
@ -186,6 +210,29 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"whisparr.${domain}" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations = {
|
||||||
|
"/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:${outpost_port}";
|
||||||
|
extraConfig = ''
|
||||||
|
#proxy_set_header Host $proxy_host;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection $http_connection;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
access_log /var/log/nginx/whisparr.${domain}_access.log;
|
||||||
|
error_log /var/log/nginx/whisparr.${domain}_error.log;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"sabnzbd.${domain}" = {
|
"sabnzbd.${domain}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,9 @@
|
||||||
sabnzbd = {
|
sabnzbd = {
|
||||||
port = "9191";
|
port = "9191";
|
||||||
};
|
};
|
||||||
|
whisparr = {
|
||||||
|
port = "6969";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
authentik = {
|
authentik = {
|
||||||
|
|
@ -46,7 +49,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
jellyfin = {
|
jellyfin = {
|
||||||
domain = "jf.mc-fucker.cool";
|
domain = "jftest.mc-fucker.cool";
|
||||||
port = "8096";
|
port = "8096";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue