config/ becomes an empty drop-in mount; examples/ mirrors the mount dirs; plugins & config import the host via #plugin-api/#menu-config subpath imports

This commit is contained in:
2026-07-01 23:19:29 +02:00
parent 4adf14f386
commit 2202bdbaa0
22 changed files with 111 additions and 48 deletions
+2 -2
View File
@@ -31,13 +31,13 @@ services:
# plugins/ is empty in the image; bind the reference example in as the `scheduling` plugin so the
# browser flow can open its gated /scheduling/shifts page.
volumes:
- ./examples/scheduling-plugin:/app/plugins/scheduling:ro
- ./examples/plugins/scheduling:/app/plugins/scheduling:ro
# bootstrap grants the demo admin every discovered plugin's permission tokens, so it needs the
# reference plugin present too — else the admin lacks scheduling:read/write and the gated page 403s.
bootstrap:
volumes:
- ./examples/scheduling-plugin:/app/plugins/scheduling:ro
- ./examples/plugins/scheduling:/app/plugins/scheduling:ro
# Browser-facing URLs (base_url, every ui_url, the after-login redirect) move to the gateway host.
# `--dev`: the browser hits the gateway over http, but Kratos marks cookies Secure for a