Daemon Configuration
Runtime configuration for the oored daemon.
Command-line flags
bash
oored run [--listen <addr>] [--state-file <path>]| Flag | Default | Env var | Description |
|---|---|---|---|
--listen | 127.0.0.1:8787 | OORED_LISTEN_ADDR | Address and port to listen on |
--state-file | Platform default | OORE_SETUP_STATE_FILE | Override database path |
Environment variables
See Environment Variables for the complete list.
File locations
| File | Default path | Description |
|---|---|---|
| Database | ~/Library/Application Support/oore/oore.db | SQLite database with all instance state |
| Encryption key | ~/Library/Application Support/oore/encryption.key | AES-256-GCM key for secret encryption |
Override the database path with --state-file or OORE_SETUP_STATE_FILE.
Runner mode
| Mode | How to set | Behavior |
|---|---|---|
| Embedded (default) | Don't set OORED_RUNNER_MODE | Daemon runs a built-in runner that claims and executes builds |
| External | OORED_RUNNER_MODE=external | Daemon only serves the API; builds require an external runner process |
CORS configuration
| Variable | Default | Description |
|---|---|---|
OORE_CORS_ORIGINS | http://localhost:3000,https://ci.oore.build | Comma-separated allowed origins |
OORE_CORS_ORIGIN | — | Single origin (backward compatible) |
Logging
| Variable | Default | Description |
|---|---|---|
RUST_LOG | info | Log level filter (uses tracing subscriber) |
Examples:
bash
RUST_LOG=debug # All debug logs
RUST_LOG=oored=debug,tower=info # Module-specific levels
RUST_LOG=warn # Only warnings and errors