Skip to content

Daemon Configuration

Runtime configuration for the oored daemon.

Command-line flags

bash
oored run [--listen <addr>] [--state-file <path>]
FlagDefaultEnv varDescription
--listen127.0.0.1:8787OORED_LISTEN_ADDRAddress and port to listen on
--state-filePlatform defaultOORE_SETUP_STATE_FILEOverride database path

Environment variables

See Environment Variables for the complete list.

File locations

FileDefault pathDescription
Database~/Library/Application Support/oore/oore.dbSQLite database with all instance state
Encryption key~/Library/Application Support/oore/encryption.keyAES-256-GCM key for secret encryption

Override the database path with --state-file or OORE_SETUP_STATE_FILE.

Runner mode

ModeHow to setBehavior
Embedded (default)Don't set OORED_RUNNER_MODEDaemon runs a built-in runner that claims and executes builds
ExternalOORED_RUNNER_MODE=externalDaemon only serves the API; builds require an external runner process

CORS configuration

VariableDefaultDescription
OORE_CORS_ORIGINShttp://localhost:3000,https://ci.oore.buildComma-separated allowed origins
OORE_CORS_ORIGINSingle origin (backward compatible)

Logging

VariableDefaultDescription
RUST_LOGinfoLog 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

Self-hosted mobile CI, built for Flutter.