fix: use Nomad interpolation syntax for WOODPECKER_SERVER
All checks were successful
All checks were successful
This commit is contained in:
parent
3d62b52e36
commit
ab0a6be41f
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ job "woodpecker-agent" {
|
||||||
# Nomad's port stanza to the allocation's IP (not localhost), so the
|
# 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.
|
# agent must use the LXC's eth0 IP, not 127.0.0.1.
|
||||||
env {
|
env {
|
||||||
WOODPECKER_SERVER = "{{ env \"attr.unique.network.ip-address\" }}:9000"
|
WOODPECKER_SERVER = "${attr.unique.network.ip-address}:9000"
|
||||||
WOODPECKER_GRPC_SECURE = "false"
|
WOODPECKER_GRPC_SECURE = "false"
|
||||||
WOODPECKER_MAX_WORKFLOWS = "1"
|
WOODPECKER_MAX_WORKFLOWS = "1"
|
||||||
WOODPECKER_HEALTHCHECK_ADDR = ":3333"
|
WOODPECKER_HEALTHCHECK_ADDR = ":3333"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue