Skip to content

refactor(deploy): serve Web with a single Nginx container - #4553

Open
hhhhsc701 wants to merge 7 commits into
developfrom
dev/web
Open

hhhhsc701 wants to merge 7 commits into
developfrom
dev/web

Conversation

@hhhhsc701

@hhhhsc701 hhhhsc701 commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Serve the production Web frontend from /opt/web in one Nginx container. Choose HTTP or HTTPS on port 3000 and set the URL prefix at deployment time.
  • Route browser APIs through Gateway while preserving existing routes, scoped HttpOnly session cookies, password changes, and public branding.
  • Persist separate Nginx access and error logs on the Docker host or the existing Helm logs PVC. Rotate both files inside the Web container using the shared settings.

Verification

  • 443 Gateway, branding, and deployment unit tests and 149 account and password tests passed. The existing SSH volume render test was excluded after the local sandbox blocked writes to /dev/stdout.
  • TypeScript passed after a clean install from the updated lockfile. All 148 targeted frontend tests passed. The Web image and bilingual documentation built successfully. The exposure registry and formal test assets passed validation.
  • The formal deployment checks passed all 8 Compose rendering scenarios and all 14 Web image scenarios, including error log rotation and retention after container replacement.
  • The four unit-test modules that failed in the original CI run now pass all 102 tests. The D5 probes explicitly require TLS 1.2 or later.
  • The three end-to-end offline installations require dedicated test environments and remain unverified.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants