hosts: switch local services to internal domain

This commit is contained in:
notohh 2023-10-03 15:48:48 -04:00
parent 4809eb83a4
commit 1a80943e8a
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 10 additions and 16 deletions

View file

@ -11,31 +11,25 @@ _: {
service = "api@internal"; service = "api@internal";
}; };
sonarr = { sonarr = {
rule = "Host(`sonarr.home.arpa`)"; rule = "Host(`sonarr.internal.flake.sh`)";
entryPoints = ["web"]; entryPoints = ["web"];
service = "sonarr"; service = "sonarr";
}; };
radarr = { radarr = {
rule = "Host(`radarr.home.arpa`)"; rule = "Host(`radarr.internal.flake.sh`)";
entryPoints = ["web"]; entryPoints = ["web"];
service = "radarr"; service = "radarr";
}; };
prowlarr = { prowlarr = {
rule = "Host(`prowlarr.home.arpa`)"; rule = "Host(`prowlarr.internal.flake.sh`)";
entrypoints = ["web"]; entrypoints = ["web"];
service = "prowlarr"; service = "prowlarr";
}; };
qbittorrent = {
rule = "Host(`torrent.home.arpa`)";
entrypoints = ["web"];
service = "qbittorrent";
};
}; };
services = { services = {
sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}]; sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}];
radarr.loadBalancer.servers = [{url = "http://localhost:7878";}]; radarr.loadBalancer.servers = [{url = "http://localhost:7878";}];
prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}]; prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}];
qbittorrent.loadBalancer.servers = [{url = "http://localhost:8080";}];
}; };
}; };
}; };

View file

@ -26,7 +26,7 @@
service = "api@internal"; service = "api@internal";
}; };
dashdot = { dashdot = {
rule = "Host(`dashdot.sakura.home.arpa`)"; rule = "Host(`dashdot.sakura.internal.flake.sh`)";
entrypoints = ["web"]; entrypoints = ["web"];
service = "dashdot"; service = "dashdot";
}; };

View file

@ -11,32 +11,32 @@ _: {
service = "api@internal"; service = "api@internal";
}; };
homarr = { homarr = {
rule = "Host(`dashboard.home.arpa`)"; rule = "Host(`dashboard.internal.flake.sh`)";
entrypoints = ["web"]; entrypoints = ["web"];
service = "homarr"; service = "homarr";
}; };
searxng = { searxng = {
rule = "Host(`searxng.home.arpa`)"; rule = "Host(`searxng.internal.flake.sh`)";
entryPoints = ["web"]; entryPoints = ["web"];
service = "searxng"; service = "searxng";
}; };
stash = { stash = {
rule = "Host(`stash.home.arpa`)"; rule = "Host(`stash.internal.flake.sh`)";
entrypoints = ["web"]; entrypoints = ["web"];
service = "stash"; service = "stash";
}; };
dashdot = { dashdot = {
rule = "Host(`dashdot.yuki.home.arpa`)"; rule = "Host(`dashdot.yuki.internal.flake.sh`)";
entrypoints = ["web"]; entrypoints = ["web"];
service = "dashdot"; service = "dashdot";
}; };
jellyfin = { jellyfin = {
rule = "Host(`jellyfin.home.arpa`)"; rule = "Host(`jellyfin.internal.flake.sh`)";
entrypoints = ["web"]; entrypoints = ["web"];
service = "jellyfin"; service = "jellyfin";
}; };
jellyseerr = { jellyseerr = {
rule = "Host(`jellyseerr.home.arpa`)"; rule = "Host(`jellyseerr.internal.flake.sh`)";
entrypoints = ["web"]; entrypoints = ["web"];
service = "jellyseerr"; service = "jellyseerr";
}; };