Created
November 12, 2022 10:07
-
-
Save erangaeb/9e027af9b66f45a276f5d17308720d32 to your computer and use it in GitHub Desktop.
deployment of vault with consul storage backend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
vault-consul: | |
image: erangaeb/vault-consul:0.1 | |
ports: | |
- 8200:8200 | |
environment: | |
- VAULT_ADDR=http://127.0.0.1:8200 | |
- VAULT_API_ADDR=http://127.0.0.1:8200 | |
command: server -config=/vault/config/vault-config.json | |
cap_add: | |
- IPC_LOCK | |
depends_on: | |
- consul | |
consul: | |
image: erangaeb/consul:0.1 | |
ports: | |
- 8500:8500 | |
command: agent -server -bind 0.0.0.0 -client 0.0.0.0 -bootstrap-expect 1 -config-file=/consul/config/config.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment