From a73ed8e3f0084f63ad71f36bf3fd1b2cd63d76ff Mon Sep 17 00:00:00 2001 From: Nathan Date: Sun, 25 Jan 2026 14:09:42 -0600 Subject: [PATCH] try n8n --- .../containers/traefik/default.nix | 30 ------------------- system/virtualization/docker/n8n/default.nix | 4 +-- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/system/virtualization/containers/traefik/default.nix b/system/virtualization/containers/traefik/default.nix index fdb93c1..af12aec 100644 --- a/system/virtualization/containers/traefik/default.nix +++ b/system/virtualization/containers/traefik/default.nix @@ -233,41 +233,13 @@ tls.certResolver = "cloudflare"; };*/ - /*pihole = { - entryPoints = [ "localsecure" ]; - rule = "Host(`pihole.esotericbytes.com`)"; - service = "pihole"; - tls.certResolver = "cloudflare"; - }; - - portainer = { - entryPoints = [ "localsecure" ]; - rule = "Host(`portainer.esotericbytes.com`)"; - service = "portainer"; - tls.certResolver = "cloudflare"; - };*/ - netbird = { entryPoints = [ "websecure" "localsecure" ]; rule = "Host(`vpn.esotericbytes.com`)"; service = "netbird"; tls.certResolver = "cloudflare"; }; - - n8n = { - entryPoints = [ "localsecure" ]; - rule = "Host(`n8n.esotericbytes.com`)"; - service = "n8n"; - tls.certResolver = "cloudflare"; - }; - /*ollama = { - entryPoints = [ "localsecure" ]; - rule = "Host(`ollama.esotericbytes.com`)"; - service = "ollama"; - tls.certResolver = "cloudflare"; - };*/ - openwebui = { entryPoints = [ "localsecure" ]; rule = "Host(`ai.esotericbytes.com`)"; @@ -319,8 +291,6 @@ code-server.loadBalancer.servers = [ { url = "http://192.168.100.31:4444"; } ]; /*homeassistant.loadBalancer.servers = [ { url = "http://192.168.100.25:8123"; } ];*/ - - n8n.loadBalancer.servers = [ { url = "http://192.168.100.21:5678"; } ]; }; }; }; diff --git a/system/virtualization/docker/n8n/default.nix b/system/virtualization/docker/n8n/default.nix index 0b96c5b..c577579 100644 --- a/system/virtualization/docker/n8n/default.nix +++ b/system/virtualization/docker/n8n/default.nix @@ -40,8 +40,7 @@ in { "traefik.http.routers.${name}.service" = "${name}"; "traefik.http.routers.${name}.tls.certResolver" = "cloudflare"; - "traefik.http.services.${name}.loadbalancer.server.url" = "http://127.0.0.1:5678"; - #"traefik.http.services.${name}.loadbalancer.server.url" = "http://192.168.100.10:${builtins.toString hostPort}"; + "traefik.http.services.${name}.loadbalancer.server.url" = "http://192.168.100.10:${builtins.toString hostPort}"; }; extraOptions = lib.mkIf config.sysconfig.docker.nvidia [ @@ -50,7 +49,6 @@ in { ports = [ "${builtins.toString hostPort}:5678" - "192.168.100.11:5678:5678" ]; volumes = [