gliderlabs / docker-consul

Dockerized Consul
MIT License
1.07k stars 286 forks source link

support consul encryption #78

Open thraxil opened 9 years ago

thraxil commented 9 years ago

docker-consul currently can't be configured to join a cluster that uses gossip encryption: https://www.consul.io/docs/agent/encryption.html

progrium commented 9 years ago

Have you tried with the latest since moving to gliderlabs?

ianmcorvidae commented 8 years ago

It is possible to use gossip encryption with this image. Any files mounted into the /config directory will be picked up, so host-mounting a JSON file with the following structure will enable gossip encryption:

{"encrypt": "<token as generated by consul keygen>"}