Files
envbao-admin/docker-compose.yml
T
mattandClaude Sonnet 5.5 fbe9cc9262 Design sweep: tokens and base styles, connection summary, secret picker, access panel layout, sample data
- Add a token-based design system (light/dark colours, type and spacing scales)
  and style buttons, forms, tables, tabs and the app shell.
- Show a server and session summary (version, status, cluster, server time,
  token expiry) instead of the connect form while connected.
- Replace the free-text secret path in the Access panel with a browsable picker
  and an "everything inside" tickbox; typing a path is still available.
- Re-lay out the Access panel: header bar, current access beside the grant form.
- Seed the docker-compose stack with sample secrets, users, entities, a group,
  policies and a token via docker/seed.sh (safe to re-run).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 12:07:39 +01:00

40 lines
1.1 KiB
YAML

# Local demo: the UI plus a throwaway in-memory OpenBao dev server.
# docker compose up --build
# UI: http://localhost:8080 OpenBao: http://localhost:8200 token: root
services:
openbao:
image: openbao/openbao:latest
cap_add: [IPC_LOCK]
environment:
BAO_DEV_ROOT_TOKEN_ID: root
BAO_DEV_LISTEN_ADDRESS: 0.0.0.0:8200
ports:
- "8200:8200"
healthcheck:
test: ["CMD", "bao", "status", "-address=http://127.0.0.1:8200"]
interval: 2s
retries: 15
# One-shot: allow the UI origin to call OpenBao from the browser, then load sample
# secrets, users, entities, a group and a token (see docker/seed.sh).
openbao-setup:
image: openbao/openbao:latest
depends_on:
openbao:
condition: service_healthy
environment:
BAO_ADDR: http://openbao:8200
BAO_TOKEN: root
volumes:
- ./docker/seed.sh:/seed.sh:ro
entrypoint: ["sh", "/seed.sh"]
restart: "no"
ui:
build: .
depends_on:
openbao-setup:
condition: service_completed_successfully
ports:
- "8080:80"