From 690aa755460c18d3d5d5698709a143fa8cc3c516 Mon Sep 17 00:00:00 2001 From: dev-qwen2 Date: Sun, 19 Apr 2026 09:31:02 +0000 Subject: [PATCH] fix: [nomad-step-5] edge caddy task fails to clone Forgejo from 127.0.0.1:3000 under bridge network (#1034) --- nomad/jobs/edge.hcl | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/nomad/jobs/edge.hcl b/nomad/jobs/edge.hcl index 4a495d9..b1b2da4 100644 --- a/nomad/jobs/edge.hcl +++ b/nomad/jobs/edge.hcl @@ -123,6 +123,19 @@ job "edge" { # ── Caddyfile via Nomad service discovery (S5-fix-7, issue #1018) ──── # Renders staging upstream from Nomad service registration instead of # hardcoded staging:80. Caddy picks up /local/Caddyfile via entrypoint. + # Forge URL via Nomad service discovery (issue #1034) — resolves forgejo + # service address/port dynamically for bridge network compatibility. + template { + destination = "local/forge.env" + env = true + change_mode = "restart" + data = <