Local development with a database usually means juggling Docker commands, remembering port numbers, and clicking through browser certificate warnings. The GenesisDB Orchestrator removes all of that. It is a small cross-platform CLI that runs isolated GenesisDB Docker containers behind one local HTTPS proxy.
Each instance is available at both:
https://<name>.genesisdb.localon port 443http://<name>.genesisdb.localon port 80
HTTPS is recommended for browsers and applications that use the operating system trust store. The HTTP endpoint exists for local development tools whose embedded Node.js runtime does not use the operating system trust store.
The GenesisDB container itself listens on its standard port 8080 inside a private Docker network. Instance data is stored in a named Docker volume that survives restarts and shutdowns.
Requirements
- Docker Desktop or Docker Engine
- Administrator access for the hosts file and local certificate trust store
- On Linux,
update-ca-certificatesortrust
Installation
Install the latest release on macOS or Linux:
curl -fsSL https://orchestrator.genesisdb.io/install.sh | bashThe installer detects the operating system and architecture, verifies the release checksum, and installs into the first writable directory among /usr/local/bin, ~/.local/bin, and ~/bin. Pass a release tag and destination to override the defaults:
curl -fsSL https://orchestrator.genesisdb.io/install.sh | bash -s -- v0.0.2 ~/binAlternatively, download an archive from the latest GitHub release. Release archives are available for macOS, Linux, and Windows on AMD64 and ARM64. Windows archives contain genesisdb.exe.
Getting started
Initialize the proxy, create the wildcard certificate, trust its local CA, add genesisdb.local to the hosts file, and start all existing GenesisDB instances:
# macOS/Linux, sudo is requested when needed
genesisdb init
# Windows: run an Administrator terminal, then:
genesisdb initDo not run the whole command with sudo on macOS or Linux. The CLI stores state for the current user and invokes sudo only for certificate and hosts-file changes.
Create an instance with the interactive wizard. The auth token remains visible while typing:
genesisdb createYou can also provide values directly, or provide some values and let the wizard prompt for the missing required values:
genesisdb create <name> --auth-token "$(openssl rand -hex 32)"
# Interactive
genesisdb create <name>Every instance gets:
- Its own local domain: available via HTTPS on port 443 and HTTP on port 80, no port juggling
- Full isolation: each database runs in its own container inside a private Docker network
- Persistent data: events are stored in a named Docker volume that survives restarts and shutdowns
Stop or permanently delete one instance:
genesisdb stop <name>
genesisdb delete <name>Shut down every managed GenesisDB instance and the proxy, then start all of them again:
genesisdb shutdown
genesisdb initdelete removes the container, its named data volume, proxy route, and hosts-file entry. shutdown preserves containers and data. Creating, stopping, and deleting instances refuse to run while the proxy is not initialized and running.
Dashboard
Run genesisdb without arguments in a terminal to open the interactive dashboard (genesisdb ui still works as an alias):
genesisdbThe dashboard initializes the local proxy and starts existing databases automatically when it opens. Administrator access is requested when certificate or hosts-file setup requires it. It then lists running and stopped databases and refreshes automatically. Select an instance with the arrow keys or j and k. Available actions:
| Key | Action |
|---|---|
c | Create a database with name and auth token |
s | Start or stop the selected database |
p | Initialize everything or shut down all databases and the proxy |
e | Export a JSON backup through GET /api/v2/admin/backup |
i | Restore a JSON backup through POST /api/v2/admin/restore |
d | Permanently delete the database after confirmation |
r | Refresh containers and GET /api/v2/status data |
q | Close the dashboard |
The details panel displays engine, events, system, storage, memory and CPU information from /api/v2/status. Restore only works into an empty store, as required by GenesisDB.
VS Code extension
For an orchestrated local instance, configure the GenesisDB VS Code extension with:
http://<name>.genesisdb.local
The extension host performs its connection test with Node.js fetch. Node.js does not reliably read locally trusted certificate authorities from the macOS Keychain, so the HTTPS URL can fail with UNABLE_TO_VERIFY_LEAF_SIGNATURE even though browsers and the orchestrator can connect. Published GenesisDB HTTPS endpoints continue to work because their certificates use a public certificate authority.
Updates
Check for or install a new CLI release:
genesisdb update --check
genesisdb updateYou can also install or update to the latest release by running the stable installer again:
curl -fsSL https://orchestrator.genesisdb.io/install.sh | bashPublished builds automatically check GitHub at most once every 12 hours when running lifecycle commands. If a newer release exists, the CLI prints a short notice. Network failures never prevent normal GenesisDB commands from running. Local development builds report version 0.0.0 and cannot self-update.
The updater verifies the selected release archive against checksums.txt before replacing the current executable. The executable must be writable by the current user.
Docker resources
The CLI creates:
- Network:
genesisdb-local - Proxy container:
genesisdb-local-proxyusingcaddy:2-alpine - Instance containers:
genesisdb-local-<name> - Data volumes:
genesisdb-local-<name>-data
CLI state and generated certificates are kept in the operating system's user configuration directory under genesisdb.
License
The GenesisDB Orchestrator is open source under the MIT license.