Include administrator bootstrap in container context

This commit is contained in:
Quintine committed 2026-09-28 08:31:50 +10:00
1 parent f64b5fd33b
commit 4801ce003b
2 files changed
+5

No files matched your search

+1
View File
@@ -27,6 +27,7 @@
!tools/** !tools/**
!deploy/container-entrypoint.sh !deploy/container-entrypoint.sh
!deploy/serve.mjs !deploy/serve.mjs
!deploy/bootstrap-admin.mjs
**/*.orig **/*.orig
**/*.rej **/*.rej
**/.env* **/.env*
+4
View File
@@ -49,6 +49,10 @@ access can use that key, so restrict log access and do not publish diagnostics
containing it. Existing accounts never trigger a new key on restart or update. containing it. Existing accounts never trigger a new key on restart or update.
See [admin access recovery](ADMIN_PANEL.md#initial-owner-and-access-recovery). See [admin access recovery](ADMIN_PANEL.md#initial-owner-and-access-recovery).
The Docker build context explicitly allows `deploy/bootstrap-admin.mjs`; keep
that allowlist in `.dockerignore` when changing the startup entrypoint. A CI
image-build failure does not replace the running NAS image or provision a key.
The container serves the built Worker directly through pinned Miniflare/workerd, The container serves the built Worker directly through pinned Miniflare/workerd,
with persisted D1-compatible SQLite. Wrangler only applies startup migrations. with persisted D1-compatible SQLite. Wrangler only applies startup migrations.
The development proxy produced intermittent POST failures after rejected request The development proxy produced intermittent POST failures after rejected request