Check out the post.
- Fork/Clone
- Generate ssl
apt-get install openssl
openssl genrsa -aes256 -out certificat.key 4096
mv certificat.key certificat.key.lock
openssl rsa -in certificat.key.lock -out certificat.key
openssl req -new -key certificat.key.lock -out certificat.csr
openssl x509 -req -days 365 -in certificat.csr -signkey certificat.key.lock -out certificat.crt
-
Build the images and run the containers:
$ docker-compose up -d --build
-
You can now interact with both Vault and Consul. View the UIs at https://localhost:8200/ui and https://localhost:8500/ui.