| # Deploying a Consul cluster using this file assumes that overlay network 'voltha_net' |
| # has already been created. To deploy the cluster, issue the command: |
| # docker stack deploy -c docker-compose-consul-cluster.yml consul |
| # This command will create overlay network 'consul_net'. |
| # Deploy to all docker manager nodes |
| CONSUL_LOCAL_CONFIG: "{disable_update_check: true}" |
| CONSUL_BIND_INTERFACE: eth0 |
| - -config-dir=/consul/config |
| - -data-dir=/consul/data # mandatory property |
| - -bind={{ GetInterfaceIP "eth0" }} |
| - -retry-join=172.29.20.2 |
| - -retry-join=172.29.20.3 |
| - -retry-join=172.29.20.4 |
| - -retry-join=172.29.20.5 |
| - -retry-join=172.29.20.6 |
| - -retry-join=172.29.20.7 |