From 1a80943e8a56220685954c559a81c5299ec33913 Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 3 Oct 2023 15:48:48 -0400 Subject: [PATCH] hosts: switch local services to internal domain --- hosts/kariru/services/traefik.nix | 12 +++--------- hosts/sakura/services/traefik.nix | 2 +- hosts/yuki/services/traefik.nix | 12 ++++++------ 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/hosts/kariru/services/traefik.nix b/hosts/kariru/services/traefik.nix index 9889dfa..9f59b7d 100644 --- a/hosts/kariru/services/traefik.nix +++ b/hosts/kariru/services/traefik.nix @@ -11,31 +11,25 @@ _: { service = "api@internal"; }; sonarr = { - rule = "Host(`sonarr.home.arpa`)"; + rule = "Host(`sonarr.internal.flake.sh`)"; entryPoints = ["web"]; service = "sonarr"; }; radarr = { - rule = "Host(`radarr.home.arpa`)"; + rule = "Host(`radarr.internal.flake.sh`)"; entryPoints = ["web"]; service = "radarr"; }; prowlarr = { - rule = "Host(`prowlarr.home.arpa`)"; + rule = "Host(`prowlarr.internal.flake.sh`)"; entrypoints = ["web"]; service = "prowlarr"; }; - qbittorrent = { - rule = "Host(`torrent.home.arpa`)"; - entrypoints = ["web"]; - service = "qbittorrent"; - }; }; services = { sonarr.loadBalancer.servers = [{url = "http://localhost:8989";}]; radarr.loadBalancer.servers = [{url = "http://localhost:7878";}]; prowlarr.loadBalancer.servers = [{url = "http://localhost:9696";}]; - qbittorrent.loadBalancer.servers = [{url = "http://localhost:8080";}]; }; }; }; diff --git a/hosts/sakura/services/traefik.nix b/hosts/sakura/services/traefik.nix index 5d9b4fb..ef13e39 100644 --- a/hosts/sakura/services/traefik.nix +++ b/hosts/sakura/services/traefik.nix @@ -26,7 +26,7 @@ service = "api@internal"; }; dashdot = { - rule = "Host(`dashdot.sakura.home.arpa`)"; + rule = "Host(`dashdot.sakura.internal.flake.sh`)"; entrypoints = ["web"]; service = "dashdot"; }; diff --git a/hosts/yuki/services/traefik.nix b/hosts/yuki/services/traefik.nix index 2e048fa..0619fc0 100644 --- a/hosts/yuki/services/traefik.nix +++ b/hosts/yuki/services/traefik.nix @@ -11,32 +11,32 @@ _: { service = "api@internal"; }; homarr = { - rule = "Host(`dashboard.home.arpa`)"; + rule = "Host(`dashboard.internal.flake.sh`)"; entrypoints = ["web"]; service = "homarr"; }; searxng = { - rule = "Host(`searxng.home.arpa`)"; + rule = "Host(`searxng.internal.flake.sh`)"; entryPoints = ["web"]; service = "searxng"; }; stash = { - rule = "Host(`stash.home.arpa`)"; + rule = "Host(`stash.internal.flake.sh`)"; entrypoints = ["web"]; service = "stash"; }; dashdot = { - rule = "Host(`dashdot.yuki.home.arpa`)"; + rule = "Host(`dashdot.yuki.internal.flake.sh`)"; entrypoints = ["web"]; service = "dashdot"; }; jellyfin = { - rule = "Host(`jellyfin.home.arpa`)"; + rule = "Host(`jellyfin.internal.flake.sh`)"; entrypoints = ["web"]; service = "jellyfin"; }; jellyseerr = { - rule = "Host(`jellyseerr.home.arpa`)"; + rule = "Host(`jellyseerr.internal.flake.sh`)"; entrypoints = ["web"]; service = "jellyseerr"; };