Skip to content

Instantly share code, notes, and snippets.

@secfigo
Last active July 26, 2018 03:48
Show Gist options
  • Save secfigo/9b52233dd544852e749b587ac6c2aea9 to your computer and use it in GitHub Desktop.
Save secfigo/9b52233dd544852e749b587ac6c2aea9 to your computer and use it in GitHub Desktop.
setup vault on DevSecOps Box
#!/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