Last active
December 24, 2018 17:45
-
-
Save TimoDJatomika/e0f4a2787128174227ecf20d2762c39c to your computer and use it in GitHub Desktop.
setup of a high availability vault cluster: setup vault
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
#!/bin/bash | |
# author: Timo Stankowitz <[email protected]> | |
# version: 6 | |
# last (working) test: 2018-12-24 | |
# use the script to configure vault. | |
mkdir vault-config vault-log | |
cd vault-config | |
wget https://vault-ha.de/files/vault-config.hcl | |
# start the docker container with the previously downloaded configuration file | |
docker run -d --name="vault" --cap-add=IPC_LOCK --net=host -v /home/core/vault-config/:/vault/config:ro -v /home/core/vault-log:/vault/logs vault:1.0.0 server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment