diff --git a/stack.production.yml b/stack.production.yml index a23d342..681683b 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -43,7 +43,7 @@ services: image: git.nixc.us/nixius/portainer:production-agent environment: - EDGE=1 - - EDGE_ID=${PORTAINER_EDGE_ID} + - EDGE_ID={{.Node.Hostname}} - EDGE_KEY=${PORTAINER_EDGE_KEY} - EDGE_INSECURE_POLL=1 - AGENT_CLUSTER_ADDR=tasks.portainer_agent