Last active
July 26, 2018 03:48
-
-
Save secfigo/9b52233dd544852e749b587ac6c2aea9 to your computer and use it in GitHub Desktop.
setup vault on DevSecOps Box
This file contains 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 | |
sudo rm -rf django.nv/ && rm -rf django.nV | |
git clone https://github.com/secfigo/django.nv.git && cd django.nv | |
git checkout vault-5-secrets-in-vault | |
# Change the IP address of LOCAL_IP Variable | |
sed -i -e 's/LOCAL_IP=10.0.1.22/LOCAL_IP=10.0.1.10/g' .env | |
# stop if the containers are already running. | |
docker-compose -f docker-compose-vault.yml down | |
# Download the images and run it | |
docker-compose -f docker-compose-vault.yml up -d | |
# Verify its working | |
docker ps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment