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:
@@ -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
|
||||
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
# plugins/ is empty in the image; bind the reference example in as the `scheduling` plugin so the
|
||||
# nav-gating spec has a drop-in plugin to assert against.
|
||||
volumes:
|
||||
- ./examples/scheduling-plugin:/app/plugins/scheduling:ro
|
||||
- ./examples/plugins/scheduling:/app/plugins/scheduling:ro
|
||||
|
||||
e2e:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user