Skip to content

Instantly share code, notes, and snippets.

@twyle
Created June 23, 2022 10:52
Show Gist options
  • Save twyle/8e85922d11f22d272535a79121e0b70f to your computer and use it in GitHub Desktop.
Save twyle/8e85922d11f22d272535a79121e0b70f to your computer and use it in GitHub Desktop.
version: '3'
services:
vault:
build:
context: ./vault
dockerfile: Dockerfile
ports:
- 8200:8200
volumes:
- ./vault/config:/vault/config
- ./vault/policies:/vault/policies
- ./vault/data:/vault/data
- ./vault/logs:/vault/logs
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment