add vault to blackstart

This commit is contained in:
2025-02-26 09:11:54 -05:00
parent 73f133ad61
commit d596076223
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
services:
vault:
image: hashicorp/vault:1.18
environment:
VAULT_ADDR: "https://weyma-vault.infra.dubyatp.xyz:8200"
VAULT_API_ADDR: "https://weyma-vault.infra.dubyatp.xyz:8200"
VAULT_ADDRESS: "https://weyma-vault.infra.dubyatp.xyz:8200"
VAULT_UI: true
ports:
- "8200:8200"
- "8201:8201"
restart: always
volumes:
- ./logs:/vault/logs/:rw
- ./data:/vault/data/:rw
- ./config:/vault/config/:rw
- ./certs:/certs/:rw
- ./file:/vault/file/:rw
cap_add:
- IPC_LOCK
entrypoint: vault server -config /vault/config/config.hcl