selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Dopbase logo

Self-host Dopbase

0.1.10

Single-binary secrets manager with encrypted SQLite storage

BetaOpen SourceApache-2.0
Updated11 hours ago
LanguageRust
Setup difficultyEasy
Stars
168
Port
8840 (HTTP server for REST API and Admin UI)
Install with Linux
Dopbase Admin UI showing projects and environments with a secrets table and one temporarily revealed value

What is Dopbase?

Dopbase is a self-hosted secrets manager for developers and teams that organizes secrets by project and environment. It runs as a single executable containing the server, REST API, embedded Vue Admin UI, and command-line client. Secrets are encrypted with envelope encryption (XChaCha20-Poly1305) and stored in a SQLite database, with the master key kept outside the database. The CLI can import from .env, JSON, YAML, or TOML files and inject secrets directly into application processes via dopbase run. It supports role-based access (root, admin, member, AI agent), environment-scoped runner tokens for CI/CD, encrypted backups, and audit logging. Self-hosting is the primary deployment model with native executables for macOS and Linux on AMD64 and ARM64; Windows users run it in a Docker container. The project is pre-1.0 (v0.1.x) with a roadmap toward SSO, KMS integration, and high availability.

Should you self-host Dopbase?

Dopbase scores 43/100 on selfhost.directory (how scoring works) and ranks #11 of 12 in Secrets Management. It has 168 GitHub stars.

It shipped 10 stable releases in the past year. The latest, 0.1.10, came out on 26 October 2026. New versions land roughly every 2 days.

Setup is easy: most people get it running in one sitting. It is Apache-2.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is Infisical (78/100, 30 062 stars). It scores higher overall, so compare the two before you pick. See Dopbase vs Infisical side by side.

Features

  • Audit Logging
  • CLI secret injection
  • Embedded Admin UI
  • Encrypted backups
  • Encrypted secrets storage
  • Import/export multiple formats
  • Projects and environments
  • REST API with OpenAPI/Swagger
  • Role-based Access Control
  • Runner tokens for CI/CD

Dopbase README

How to install Dopbase

Install Dopbase with Linux

Environment variables
DOPBASE_INSTALL_DIR, DOPBASE_VERSION, DOPBASE_REPOSITORY_URL, DOPBASE_DOWNLOAD_BASE_URL

curl -fsSL https://dopbase.com/install.sh | sh dopbase server start

Installs to ~/.local/bin on macOS/Linux; verifies SHA-256 checksum

How to configure Dopbase

  • DOPBASE_DATA_DIR~/.dopbaseState and configuration directory

    State and configuration directory

  • DOPBASE_DOCStrueEnable or disable Swagger UI

    Enable or disable Swagger UI

    values: true or false

  • DOPBASE_ENVEnvironment for dopbase run when its argument is omitted

    Environment for dopbase run when its argument is omitted

  • DOPBASE_HOST127.0.0.1Server bind host

    Server bind host

  • DOPBASE_MASTER_KEY_PATHPath to the server master key file

    Path to the server master key file

  • DOPBASE_PORT8840Server port

    Server port

  • DOPBASE_PUBLIC_URLPublic URL

    Public URL

  • DOPBASE_ROOT_EMAILRoot email for first startup or setup; setup --email overrides it

    Root email for first startup or setup; setup --email overrides it

  • DOPBASE_SHUTDOWN_GRACE_SECONDSSeconds allowed for graceful shutdown

    Seconds allowed for graceful shutdown

  • DOPBASE_TOKENBearer token for a machine runner or AI agent. Overrides the saved login

    Bearer token for a machine runner or AI agent. Overrides the saved login

  • DOPBASE_URLhttp://localhost:8840Server URL for client commands when --server is not set

    Server URL for client commands when --server is not set

  • DOPBASE_WEB_UItrueEnable or disable the web UI

    Enable or disable the web UI

    values: true or false

Dopbase releases & version history

More in Secrets Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…