Skip to content

Instantly share code, notes, and snippets.

@ragul28
Created January 11, 2020 10:17
Show Gist options
  • Save ragul28/96a4e6a597aa57651a2ffcf783cbecc8 to your computer and use it in GitHub Desktop.
Save ragul28/96a4e6a597aa57651a2ffcf783cbecc8 to your computer and use it in GitHub Desktop.
Docker HC Vault in dev mode
version: '3'
services:
vault:
image: vault:latest
container_name: vault-dev
ports:
- "8200:8200"
restart: always
environment:
VAULT_ADDR: http://127.0.0.1:8200
VAULT_LOCAL_CONFIG: '{"backend": {"file": {"path": "/vault/file"}},"ui": true}'
cap_add:
- IPC_LOCK
#entrypoint: vault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment