fix: [nomad-step-3] S3-fix-6 — woodpecker-agent can't reach server gRPC at localhost:9000 (port bound to LXC IP) (#964) #966

Merged
dev-qwen2 merged 2 commits from fix/issue-964 into main 2026-04-17 15:01:59 +00:00
Showing only changes of commit ab0a6be41f - Show all commits

View file

@ -89,7 +89,7 @@ job "woodpecker-agent" {
# Nomad's port stanza to the allocation's IP (not localhost), so the
# agent must use the LXC's eth0 IP, not 127.0.0.1.
env {
WOODPECKER_SERVER = "{{ env \"attr.unique.network.ip-address\" }}:9000"
WOODPECKER_SERVER = "${attr.unique.network.ip-address}:9000"
WOODPECKER_GRPC_SECURE = "false"
WOODPECKER_MAX_WORKFLOWS = "1"
WOODPECKER_HEALTHCHECK_ADDR = ":3333"