Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marco-lancini/docker_vault
Docker + Consul + Vault
https://github.com/marco-lancini/docker_vault
consul docker docker-compose vault vault-ui
Last synced: about 2 months ago
JSON representation
Docker + Consul + Vault
- Host: GitHub
- URL: https://github.com/marco-lancini/docker_vault
- Owner: marco-lancini
- Created: 2017-12-25T16:35:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-07T20:24:27.000Z (over 6 years ago)
- Last Synced: 2024-10-14T07:42:37.332Z (2 months ago)
- Topics: consul, docker, docker-compose, vault, vault-ui
- Language: Shell
- Homepage: https://www.marcolancini.it/2017/blog-vault/
- Size: 3.91 KB
- Stars: 40
- Watchers: 6
- Forks: 41
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.marcolancini.it/images/posts/blog_vault_2.jpg)
## 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`