You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds Dopbase to Docker Compose Maker as a DCM-only Container in dcm/src/tools/other.ts, under Security. Dopbase is a self-hosted secrets manager (Rust, Apache-2.0) that stores secrets by project and environment and passes them to an app when it starts. The Catalog, dcm/src/tools and ALIASES had no entry for it.
The image is pinned to 0.2.1 instead of latest. Upstream asks for a pinned tag because 0.2.0 refuses to start on a 0.1.x data directory, so pulling a moving tag can break a working install.
Data goes to ${DATA_PATH}/dopbase:/data instead of the upstream named volume, since no Container declares top-level volumes:. The image runs as UID 10001 and does not chown /data, so a directory Docker creates as root stops the first start. The description tells people to make the folder writable first. I left out user: "${PUID}:${PGID}" because upstream doesn't document running as another UID and I couldn't test it without Docker.
DOPBASE_ROOT_EMAIL is left out. Without it the first start prints a one-time setup link, and the compose doesn't carry a placeholder email. DOPBASE_PUBLIC_URL defaults to http://localhost:8840.
The healthcheck, init, stop_grace_period, cap_drop and no-new-privileges match the upstream compose example.
No icon, since dashboard-icons has none for Dopbase (404), and no stars field.
Gate
bun test dcm/tests/validate-all-containers.test.ts dcm/tests/templates.test.ts dcm/tests/validate-networks.test.ts
13 pass, 0 fail
SELF_HOST_SITE_VERSION=0.0.0 bunx turbo run build test lint check --env-mode=loose
Tasks: 9 successful, 9 total
On macOS, testkit's "Action runs installed SDK" test fails when TMPDIR goes through the /var to /private/var symlink, and it fails the same way on main. I ran turbo with TMPDIR set to the resolved path and --env-mode=loose so turbo passes it through.
Not run locally: the Go gate and the go run ./tools/sitegen drift check (no Go toolchain on this machine; the change touches no Go code or sitegen input), and validate-compose.test.ts, which needs Docker and runs in CI.
There is no issue for this. It comes from the Suggest container prompt, so the body has no Closes line.
Summary by CodeRabbit
New Features
Added Dopbase as an available security tool, with a web interface accessible at port 8840 and persistent data storage.
Setup instructions are available in the container logs. The data directory must be writable by the tool’s required user.
Dopbase is a self-hosted secrets manager with an official image at
dopbase/dopbase. The Container pins 0.2.1, publishes port 8840, keeps
the SQLite database, configuration and master key in DATA_PATH, and
copies the upstream healthcheck, init and hardening options.
The image runs as UID 10001 and does not chown /data, so the
description tells people to make the data folder writable first.
Adds Dopbase metadata and Docker Compose settings, including port 8840, the configurable public URL, persistent storage, health check, and security options. The description documents the UID 10001 write-permission requirement and the one-time setup link in the container log.
This adds Dopbase to the container list with its data mount, health check and hardening settings. Its default port mapping is reachable on every host network interface, which matters for a secrets manager. That could allow direct HTTP access that bypasses a reverse proxy. The repository's convention allows this form, so the maintainer should decide whether to default to loopback. This is a low merge risk.
Pre-merge checks: 4
Check name
Status
Explanation
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "feat(dcm): add Dopbase self host secrets management" names the main change: adding the Dopbase container to Docker Compose Maker. The raw summary confirms a new Dopbase entry in dcm/src/too…
Full details: Title check
Explanation
The title "feat(dcm): add Dopbase self host secrets management" names the main change: adding the Dopbase container to Docker Compose Maker. The raw summary confirms a new Dopbase entry in dcm/src/tools/other.ts with image, port, data mount, healthcheck, and hardening settings. The title is specific and concise. It says "secrets management" rather than "container," which fits the PR description of Dopbase as a self-hosted secrets manager. No title-only issues were found.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Some tools did not complete. Review the errors below.
Biome (2.6.5)
dcm/src/tools/other.ts
Biome could not lint this file: configuration resulted in errors. Check the repository's Biome configuration and plugins.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
The reason will be displayed to describe this comment to others. Learn more.
Additional comments: 1
dcm/src/tools/other.ts-143-143: 1
143-143: Major · Security & Privacy · Quick win
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Keep the default HTTP listener on loopback.
With Docker's default binding configuration, "8840:8840" exposes the secrets manager on all host interfaces. DOPBASE_PUBLIC_URL=http://localhost:8840 does not restrict network access. This also leaves a direct HTTP route around an HTTPS reverse proxy. Docker documents this binding behavior; Dopbase's official example uses "127.0.0.1:8840:8840" instead. Preserve that binding by default and require an explicit change for remote access. Local browser access and a host-based reverse proxy will still work. (docs.docker.com)
Based on learnings, this concern was checked against upstream's intended localhost binding before flagging the published port.
Source: Learnings
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 071514ac-e8a6-4913-9f4e-3ab8d861e505
Commits
Reviewing files that changed from the base of the PR and between c8371ba and 09d0c62.
Files selected for processing: 1
dcm/src/tools/other.ts
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
thomijasir
changed the title
feat(dcm): add Dopbase container
feat(dcm): add Dopbase self host secrets management
Nov 24, 2026
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
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.
Adds Dopbase to Docker Compose Maker as a DCM-only Container in
dcm/src/tools/other.ts, under Security. Dopbase is a self-hosted secrets manager (Rust, Apache-2.0) that stores secrets by project and environment and passes them to an app when it starts. The Catalog,dcm/src/toolsandALIASEShad no entry for it.Sources
/datavolume, env vars, healthcheck and hardening: the official image page, https://hub.docker.com/r/dopbase/dopbase (linked from https://github.com/dopbase/dopbase).0.2.1Choices
0.2.1instead oflatest. Upstream asks for a pinned tag because 0.2.0 refuses to start on a 0.1.x data directory, so pulling a moving tag can break a working install.${DATA_PATH}/dopbase:/datainstead of the upstream named volume, since no Container declares top-levelvolumes:. The image runs as UID 10001 and does not chown/data, so a directory Docker creates as root stops the first start. The description tells people to make the folder writable first. I left outuser: "${PUID}:${PGID}"because upstream doesn't document running as another UID and I couldn't test it without Docker.DOPBASE_ROOT_EMAILis left out. Without it the first start prints a one-time setup link, and the compose doesn't carry a placeholder email.DOPBASE_PUBLIC_URLdefaults tohttp://localhost:8840.init,stop_grace_period,cap_dropandno-new-privilegesmatch the upstream compose example.starsfield.Gate
On macOS, testkit's "Action runs installed SDK" test fails when
TMPDIRgoes through the/varto/private/varsymlink, and it fails the same way onmain. I ran turbo withTMPDIRset to the resolved path and--env-mode=looseso turbo passes it through.Not run locally: the Go gate and the
go run ./tools/sitegendrift check (no Go toolchain on this machine; the change touches no Go code or sitegen input), andvalidate-compose.test.ts, which needs Docker and runs in CI.There is no issue for this. It comes from the Suggest container prompt, so the body has no
Closesline.Summary by CodeRabbit