Repository navigation
feat: serve opencode through openchamber - #21
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 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.
Remove default value for KARAKEEP_API_ADDR in compose.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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 at127.0.0.1:3000withflush_interval -1;/healthis 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.