Skip to content
Shell HCL Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_data
_scripts
backup Public Release Dec 25, 2017
config Public Release Dec 25, 2017
.gitignore Update .gitignore Dec 25, 2017
README.md Update README.md Aug 7, 2018
docker-compose.yml Public Release Dec 25, 2017

README.md

Docker + Consul + Vault

How to use docker-compose to spin up a Vault instance backed by Consul.

A full description can be found on my website: https://www.marcolancini.it/2017/blog-vault/

Vault UI

Usage

First Run

  1. Start services: docker-compose up
  2. Init vault: ./_scripts/setup.sh
  3. When done: docker-compose down

Data will be persisted in the _data folder.

Subsequent Runs

  1. Start services: docker-compose up
  2. Unseal vault: _scripts/unseal.sh

Backup

  1. Start services: docker-compose up
  2. Run backup: _scripts/backup.sh

Remove all data

  1. Stop services: docker-compose down --volumes
  2. Clear persisted data: _scripts/clean.sh
You can’t perform that action at this time.