From aa0afdbb4263c682306ea201d77fcc77f32dab6b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 27 Oct 2023 05:56:55 +0100 Subject: [PATCH] Change gitea and adguard ports (prep to add grafana) --- services/adguardhome/default.nix | 2 +- services/gitea/default.nix | 2 ++ services/traefik/adguardhome.nix | 2 +- services/traefik/gitea.nix | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/services/adguardhome/default.nix b/services/adguardhome/default.nix index 36cd5c71..70316b5d 100644 --- a/services/adguardhome/default.nix +++ b/services/adguardhome/default.nix @@ -6,7 +6,7 @@ enable = true; mutableSettings = false; settings = rec { - http.address = "0.0.0.0:3001"; + http.address = "0.0.0.0:3200"; dns = { bind_hosts = [ "127.0.0.1" "192.168.1.230" ]; bootstrap_dns = [ "9.9.9.9" "149.112.112.10" ]; diff --git a/services/gitea/default.nix b/services/gitea/default.nix index a856d80d..87b261f1 100644 --- a/services/gitea/default.nix +++ b/services/gitea/default.nix @@ -8,6 +8,8 @@ server = { ROOT_URL = "https://git.xenia.me.uk"; DOMAIN = "git.xenia.me.uk"; + HTTP_ADDR = "127.0.0.1"; + HTTP_PORT = 3100; DISABLE_SSH = true; }; service.DISABLE_REGISTRATION = true; diff --git a/services/traefik/adguardhome.nix b/services/traefik/adguardhome.nix index aa1cd41d..9e2c9aca 100644 --- a/services/traefik/adguardhome.nix +++ b/services/traefik/adguardhome.nix @@ -11,6 +11,6 @@ tls = { certResolver = "default"; }; }; services.adguard-webinterface.loadBalancer.servers = - [{ url = "http://localhost:3001"; }]; + [{ url = "http://localhost:3200"; }]; }; } diff --git a/services/traefik/gitea.nix b/services/traefik/gitea.nix index 1ca42a2f..fb83f45f 100644 --- a/services/traefik/gitea.nix +++ b/services/traefik/gitea.nix @@ -11,7 +11,7 @@ tls = { certResolver = "default"; }; }; services.gitea-websecure.loadBalancer.servers = - [{ url = "http://localhost:3000"; }]; + [{ url = "http://localhost:3100"; }]; }; }; }