Initial OpenBao deployment setup

This commit is contained in:
2026-04-11 12:41:39 -04:00
commit db14c86a1c
3 changed files with 59 additions and 0 deletions

15
docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
services:
openbao:
image: ${IMAGE:-ghcr.io/openbao/openbao}:${VERSION:?}
container_name: ${NAME:-openbao}
command: server
ports:
- ${ENDPOINT:-127.0.0.1:8200}:${PORT:-8200}
environment:
BAO_ADDR: http://0.0.0.0:${PORT:-8200}
BAO_API_ADDR: http://0.0.0.0:${PORT:-8200}
BAO_LOG_LEVEL: ${LOGLEVEL:-info}
volumes:
- ${DATA:?}:/openbao/file:Z
- ${CONFIG:?}:/openbao/config:ro,Z
- ${LOGS:?}:/openbao/logs:Z