- Persistent (Recommended)
- Ephemeral (Start-time)
Use the Examples:
configure command to set configuration values that persist across restarts. These settings are stored in a version-specific overrides file.Common Scenarios
Proxy Configuration
If you are deploying the platform behind a reverse proxy or load balancer, or running the UI on a remote host, you must configure the Proxy Host. You must set bothPROXY_HOST (for the UI to know its public address) and ALLOWED_HOSTS (to allow traffic from that domain via Content Security Policy).
Configuration Details
Precedence
When the platform starts, configuration is resolved in the following order (highest priority first):- Start-time Flags: (
dreadnode platform start --key value) - Persistent Overrides: (
dreadnode platform configure) - Base Defaults: Service-level default values.
This means a value passed to
start will always override a value set via configure.File Structure & storage
The platform stores its configuration and state in your home directory.- Base Directory:
~/.dreadnode/platform - Version Manifest:
~/.dreadnode/platform/versions.json(Tracks downloaded versions and the currently active one). - Active Version:
~/.dreadnode/platform/<tag>/
~/.dreadnode/platform/<tag>/), you will find the .dreadnode-api.env and .dreadnode-ui.env files where persistent configuration is stored.
Common Configuration Keys
| Key | Description | Example |
|---|---|---|
proxy-host | Hostname for remote access (e.g. behind a reverse proxy). | platform.corp.com |
allowed-hosts | Must match proxy-host to allow browser access. | platform.corp.com |
api-port | Port exposed by the API service. | 8080 |
ui-port | Port exposed by the UI service. | 80 |
postgres-host | Hostname of external Postgres database. | db.internal |
clickhouse-host | Hostname of external ClickHouse database. | clickhouse.internal |
Configuration keys are case-insensitive in the CLI but are converted to
UPPER_SNAKE_CASE environment variables internally (e.g., proxy-host -> PROXY_HOST).
