fix(openbao): use production mode instead of dev mode
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

- Add explicit command: server -config=/openbao/config/config.hcl
- Remove OPENBAO_DEV_ROOT_TOKEN_ID (not needed in production)
- Fixes 'address already in use' error caused by dev mode conflict

The base OpenBao image defaults to 'server -dev' which conflicts with
our production config.hcl. This change forces production mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-08 17:34:36 -06:00
parent c195b8c8fd
commit 7c01352ab5

View File

@@ -22,10 +22,10 @@ services:
openbao:
image: git.mosaicstack.dev/mosaic/stack-openbao:${IMAGE_TAG:-dev}
container_name: mosaic-openbao
command: server -config=/openbao/config/config.hcl
env_file: .env
environment:
OPENBAO_ADDR: http://0.0.0.0:8200
OPENBAO_DEV_ROOT_TOKEN_ID: ${OPENBAO_DEV_ROOT_TOKEN_ID:-root}
ports:
- "127.0.0.1:${OPENBAO_PORT:-8200}:8200" # Localhost only for security
volumes: