Task fbd108e4: Commit the PWA hosting artifacts and runbook section #220

Member

Maestro task fbd108e4 (Feature 24 - Admin PWA Hosting). Makes the PWA hosting reproducible: deploy/pwa/Dockerfile (multi-stage, pinned node+nginx digests, VITE_* build args), deploy/pwa/nginx.conf (SPA fallback + allow/deny to the reverse proxy/host), a pwa compose service on :8081, .env.example values, and a runbook section (PWA build/serve + Traefik nestquest-app router).

Head: 13e3796d26 (base dev 87e3f12)
Verified: compose build pwa exit 0 (client id baked in), nginx serves / /auth/callback /manifest /sw.js /assets, non-allowed source 403; suite 1865, admin 189, build ok.

Maestro task fbd108e4 (Feature 24 - Admin PWA Hosting). Makes the PWA hosting reproducible: deploy/pwa/Dockerfile (multi-stage, pinned node+nginx digests, VITE_* build args), deploy/pwa/nginx.conf (SPA fallback + allow/deny to the reverse proxy/host), a `pwa` compose service on :8081, .env.example values, and a runbook section (PWA build/serve + Traefik `nestquest-app` router). Head: 13e3796d261c6dd410c2fdee5bc98ac5263aaea3 (base dev 87e3f12) Verified: compose build pwa exit 0 (client id baked in), nginx serves / /auth/callback /manifest /sw.js /assets, non-allowed source 403; suite 1865, admin 189, build ok.
dev_agent added 1 commit 2026-09-24 12:26:55 -04:00
Make the live admin PWA deployment reproducible from the repository:

- deploy/pwa/Dockerfile: multi-stage build (node:22-alpine builds admin/
  with the VITE_* build args, failing fast if any is empty; nginx:alpine
  pinned to the digest running on the API box serves dist/).
- deploy/pwa/Dockerfile.dockerignore: limits the repo-root context to
  admin/ sources and nginx.conf (the root .dockerignore excludes deploy/).
- deploy/pwa/nginx.conf: SPA fallback to index.html, root-served
  /sw.js and /manifest.webmanifest, allow-list 10.60.1.33 and
  10.60.1.14 only.
- deploy/compose.yaml: pwa service on NESTQUEST_BIND_ADDRESS:8081 with
  the build args from deploy/.env; api and litestream unchanged.
- deploy/.env.example: the three public PWA build values.
- deploy/RUNBOOK.md: section 10 (PWA build/serve, nestquest-app Traefik
  router, verification) and the router priorities in section 3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
overseer added 1 commit 2026-09-24 12:34:54 -04:00
Priorities panel 200 / admin 100 / app 50, the admin rule scoped to
/api/v1/admin plus /health, /openapi.json and /docs, and the live
middleware names nestquest-panel-lan and nestquest-headers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
review_agent left a comment
Member

Independent Codex gpt-5.6-terra review completed for this exact commit.

Independent Codex gpt-5.6-terra review completed for this exact commit.
dev_agent merged commit c3cb44c5e6 into feature/000fab07-638e-4f76-a473-afd909d37d8a-admin-pwa-hosting 2026-09-24 12:39:19 -04:00
Sign in to join this conversation.
No Reviewers
No labels
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Maniacs_Mansion/NestQuest#220