feat(servers): only expose public apps to WAN

This commit is contained in:
matt1432 2024-08-11 14:53:45 -04:00
parent a2978995a3
commit c14a7906c8
11 changed files with 142 additions and 149 deletions
devices/nos/modules/docker

View file

@ -17,10 +17,6 @@ in {
restart = "always";
ports = ["2800:80"];
extraHosts = [
"drss.nelim.org:10.0.0.130"
"bridge.nelim.org:10.0.0.130"
];
networks = ["proxy_net"];
volumes = let
@ -70,7 +66,7 @@ in {
};
};
"docker-hub-rss" = {
"drss.nelim.org" = {
image = import ./images/docker-hub-rss.nix pkgs;
restart = "always";
ports = ["3007:3000"];
@ -78,7 +74,7 @@ in {
networks = ["proxy_net"];
};
"rss-bridge" = {
"bridge.nelim.org" = {
image = import ./images/rss-bridge.nix pkgs;
restart = "always";

View file

@ -95,74 +95,74 @@
{
"video automation" = [
{
qbit = rec {
qbit = {
href = "https://lan.nelim.org/qbt";
icon = "qbittorrent.png";
description = "torrent client";
widget = {
type = "qbittorrent";
url = href;
url = "http://10.0.0.121:8080";
username = "admin";
password = "{{HOMEPAGE_VAR_QBIT_PASS}}";
};
};
}
{
sabnzbd = rec {
sabnzbd = {
href = "https://lan.nelim.org/sabnzbd";
icon = "sabnzbd.png";
description = "nzb client";
widget = {
type = "sabnzbd";
url = href;
url = "http://10.0.0.121:8382";
key = "{{HOMEPAGE_VAR_SAB_API}}";
};
};
}
{
sonarr = rec {
sonarr = {
href = "https://lan.nelim.org/sonarr";
icon = "sonarr.png";
description = "fetches tv shows";
widget = {
type = "sonarr";
url = href;
url = "http://sonarr:8989";
key = "{{HOMEPAGE_VAR_SONARR_API}}";
};
};
}
{
radarr = rec {
radarr = {
href = "https://lan.nelim.org/radarr";
icon = "radarr.png";
description = "fetches movies";
widget = {
type = "radarr";
url = href;
url = "http://radarr:7878";
key = "{{HOMEPAGE_VAR_RADARR_API}}";
};
};
}
{
bazarr = rec {
bazarr = {
href = "https://lan.nelim.org/bazarr";
icon = "bazarr.png";
description = "fetches subs";
widget = {
type = "bazarr";
url = href;
url = "http://bazarr:6767/bazarr";
key = "{{HOMEPAGE_VAR_BAZARR_API}}";
};
};
}
{
prowlarr = rec {
prowlarr = {
href = "https://lan.nelim.org/prowlarr";
icon = "prowlarr.png";
description = "fetches tracker queries";
widget = {
type = "prowlarr";
url = href;
url = "http://prowlarr:9696";
key = "{{HOMEPAGE_VAR_PROWLARR_API}}";
};
};

View file

@ -20,7 +20,6 @@ in {
TZ = "America/New_York";
};
extraHosts = ["lan.nelim.org:10.0.0.130"];
ports = [
"6767:6767"
];

View file

@ -15,7 +15,6 @@ in {
restart = "always";
volumes = ["${rwPath}/data:/data"];
extraHosts = ["lan.nelim.org:10.0.0.130"];
ports = ["5656:5656"];
cmd = [

View file

@ -22,7 +22,7 @@ in {
};
volumes = ["${rwPath}/data:/config"];
extraHosts = ["lan.nelim.org:10.0.0.130"];
ports = ["9696:9696"];
networks = ["proxy_net"];
};
@ -38,7 +38,6 @@ in {
TZ = "America/New_York";
};
extraHosts = ["lan.nelim.org:10.0.0.130"];
ports = ["8191:8191"];
dependsOn = ["prowlarr"];

View file

@ -14,7 +14,6 @@ in {
image = import ./images/radarr.nix pkgs;
restart = "always";
extraHosts = ["lan.nelim.org:10.0.0.130"];
ports = ["7878:7878"];
environment = {

View file

@ -14,7 +14,6 @@ in {
image = import ./images/sabnzbd.nix pkgs;
restart = "always";
extraHosts = ["lan.nelim.org:10.0.0.130"];
ports = ["8382:8082"];
environment = {

View file

@ -23,7 +23,6 @@ in {
"${rwPath}/data:/app/config"
];
extraHosts = ["lan.nelim.org:10.0.0.130"];
networks = ["proxy_net"];
ports = ["5055:5055"];
};

View file

@ -14,7 +14,6 @@ in {
image = import ./images/sonarr.nix pkgs;
restart = "always";
extraHosts = ["lan.nelim.org:10.0.0.130"];
ports = ["8989:8989"];
environment = {