Self-upgrade installer: genesis pivot, rename, adopt store+broker #13
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user