gitea runs on the host network at genesis

So it reaches the substrate store's loopback-published postgres and answers where
mesh-bootstrap and the builder look for it.

Claude-Session: https://claude.ai/code/session_01D6qtiYU3P9jk3pnAXyAFyx
This commit is contained in:
2026-09-16 10:33:07 +02:00
parent 79863068fc
commit 1a7c9fdac3
+4 -1
View File
@@ -162,7 +162,10 @@ func raiseGiteaServer(ctx context.Context, run Runner, timeout time.Duration, db
}
args := append([]string{
"run", "-d", "--name", giteaBootstrap,
"--network", "container:" + substrateStore,
// Host network, like the control plane: it reaches the substrate store on the machine's
// loopback (where the store publishes 5432) and answers on the machine's own 3000, which is
// where mesh-bootstrap and the builder's build containers look for it.
"--network", "host",
"--restart", "unless-stopped",
}, env...)
args = append(args, giteaImage)