File & variables
Configuration loads in layers; environment variables win. The core uses the KV__ prefix (double underscore as separator).
Precedence order #
1. Valeurs par défaut (code)
2. ./config.toml (répertoire courant, dev)
3. /etc/kubuno/config.toml (production)
4. Variables KV__… (surcharge finale)Key variables #
| Variable | Purpose |
|---|---|
KV__SERVER__PORT | Core port (default 8080) |
KV__SERVER__INTERNAL_SECRET | Shared secret between core ↔ modules |
KV__DATABASE__URL | PostgreSQL DSN |
KV__AUTH__JWT_SECRET | JWT signing secret |
KV__STORAGE__BACKEND | local or s3 |
KV__LOGGING__LEVEL | debug · info · warn · error |
Note
Double-underscore separator: KV__SERVER__PORT maps to the [server] port key in config.toml.