(export IP44=$(wget -qO- 169.254.169.254/latest/meta-data/local-ipv4);consul agent -config-dir=/config -data-dir /opt/consul -advertise $IP44 -atlas=${ATLAS_REPO} -atlas-join -atlas-token=${ATLAS_TOKEN})in /config there is an agent.json file with following content (default from that docker image):{
"client_addr": "0.0.0.0",
"data_dir": "/data",
"leave_on_terminate": true,
"dns_config": {
"allow_stale": true,
"max_stale": "1s"
}
}
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/61ffd2d7-0fd8-4de6-8fa1-19431b74c54d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/d7ebaa82-13eb-4090-a9f6-139a0f81a478%40googlegroups.com.