Skip to content

feat: serve opencode through openchamber - #21

Merged
icco merged 10 commits into
mainfrom
feat/openchamber
Oct 13, 2026
Merged

icco merged 10 commits into
mainfrom
feat/openchamber

Conversation

@icco

@icco icco commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Why

Make OpenChamber the only public entry point: it runs as a second hardened Compose service from the same image, while OpenCode loses its host port and is reachable only on the Compose network.

Risks

Deploys need a new OPENCHAMBER_UI_PASSWORD (32+ chars), and Caddy must point at 127.0.0.1:3000 with flush_interval -1; /health is unauthenticated, so the README snippet blocks it.
Pinned to OpenChamber 2.2.0 because 2.3.0 is younger than the pnpm minimum release age.

@icco
icco requested a balanced review from Copilot October 13, 2026 00:36
@icco
icco marked this pull request as ready for review October 13, 2026 00:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Password normalization and health-route matching currently permit security requirement bypasses.

3 open findings
What changed in this PR

Adds OpenChamber as the authenticated public frontend while isolating OpenCode on the Compose network.

Changes:

  • Installs and configures OpenChamber alongside OpenCode.
  • Adds health checks, password validation, and smoke coverage.
  • Updates deployment and reverse-proxy documentation.
File Description
.dockerignore Includes the new health-check script.
.github/​workflows/​test.yml Validates new scripts and Compose configuration.
Dockerfile Installs OpenChamber and exposes port 3000.
README.md Documents deployment and proxying.
compose.yml Adds the hardened OpenChamber service.
entrypoint.sh Validates the UI password.
openchamber-healthcheck.sh Checks frontend and backend readiness.
scripts/​smoke-test.sh Exercises OpenChamber authentication and health.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md
Comment thread entrypoint.sh Outdated
Comment thread scripts/smoke-test.sh Outdated
@icco
icco merged commit 8615f4b into main Oct 13, 2026
10 of 11 checks passed
@icco
icco deleted the feat/openchamber branch October 13, 2026 00:55
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