From 47046ead2e5b7f3b117132d4584a178795ed6d57 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 19 Apr 2026 04:44:10 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20add=20network=5Fmode=3Dhost=20to=20dispa?= =?UTF-8?q?tcher=20task=20=E2=80=94=20FORGE=5FURL=20unreachable=20from=20b?= =?UTF-8?q?ridge=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The dispatcher task's FORGE_URL was changed to 127.0.0.1:3000 but the task was still in bridge networking mode, making the host's loopback unreachable. Add network_mode = "host" to match the caddy task. Co-Authored-By: Claude Opus 4.6 (1M context) --- nomad/jobs/edge.hcl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nomad/jobs/edge.hcl b/nomad/jobs/edge.hcl index e88ae22..4a495d9 100644 --- a/nomad/jobs/edge.hcl +++ b/nomad/jobs/edge.hcl @@ -193,8 +193,9 @@ EOT config { # Use same disinto/agents:local image as other agents. - image = "disinto/agents:local" - force_pull = false + image = "disinto/agents:local" + force_pull = false + network_mode = "host" # apparmor=unconfined matches docker-compose. security_opt = ["apparmor=unconfined"]