Translation Not Available
This page is not yet available in German. Showing English content instead.
Help us translate this page! Contribute on GitHub
Configuration#
BDP stores configuration at the user level (~/.config/bdp/config.toml) and reads environment variables for overrides.
View Current Configuration#
bdp config showGet / Set Values#
# Get a single valuebdp config get server_url # Set a valuebdp config set server_url https://bdp.devbdp config set cache_dir /data/shared/bdp-cacheConfiguration Keys#
| Key | Default | Description |
|---|---|---|
| server_url | https://bdp.dev | Registry server to resolve sources against |
| cache_dir | ~/.cache/bdp | Local cache directory for downloaded files |
| log_level | warn | Log verbosity (error, warn, info, debug, trace) |
Environment Variable Overrides#
All configuration keys can be overridden with environment variables. Prefix the key with BDP_ and use uppercase:
| Environment Variable | Overrides |
|---|---|
| BDP_SERVER_URL | server_url |
| BDP_CACHE_DIR | cache_dir |
| RUST_LOG | Log level (standard Rust tracing filter) |
Environment variables take precedence over the config file.
Project-Level Configuration#
Per-project settings live in bdp.yml in your project root:
[project]name = "my-analysis"version = "1.0.0" [settings]# Override server for this project onlyserver_url = "https://internal.example.com/bdp"Self-Hosted Registry#
To use a self-hosted BDP registry:
bdp config set server_url https://your-registry.example.comOr set BDP_SERVER_URL in your environment / CI configuration.