Qirava DMS docs
Configuration
The DMS reads a tiny key = value config, resolved in order: $QDMS_CONFIG → ./dms.config → ~/.qdms/dms.config (auto-generated on first run). A few keys also have environment overrides.
The config file#
Edit the file and restart to apply. Blank lines and # comments are ignored.
# ~/.qdms/dms.config
addr = 127.0.0.1:7179 # UI + API share this port
require_api_key = true # API needs a signed key (UI routes stay public)
data_dir = /home/you/.qdms/qdms-data # or `memory` for ephemeralKeys#
- addr
- Address the DMS binds. The UI and
/api/qqlshare it. Env override:QDMS_ADDR. - require_api_key
- When
true,/api/qqlneeds an HMAC-signed API key (a bootstrap admin key is minted + printed once on first start). Setfalsefor local dev. UI routes are always public. - data_dir
- Durable data directory (WAL + crash recovery). Use
memoryfor an ephemeral instance. Env override:QDMS_DATA.
Other environment knobs#
- QDMS_CONFIG
- Path to a config file to use instead of the default lookup.
- QDMS_MAX_CONN
- Cap on concurrent connections.
- QDMS_REPL_ROLE
master|followerto enable single-leader replication (default: standalone).
See Performance tuning for the executor budget and WAL knobs.