PORT | 8080 | No | TCP port for the HTTP server |
LOG_LEVEL | info | No | Log filter level (debug, info, warn, error) |
DB_PATH | hodis.db | No | Filesystem path to the SQLite database file |
API_KEY | (auto-generated 64-char hex) | No | Secret API key for authentication. Auto-generated at startup if empty |
RESET_DB | "" (false) | No | Set to "true" to delete the database file on startup |
ADMIN_USERNAME | admin | No | Username for HTTP Basic Auth on /admin/* endpoints |
ADMIN_PASSWORD | admin | No | Password for HTTP Basic Auth on /admin/* endpoints |
RUST_LOG | Falls back to LOG_LEVEL | No | Standard env_logger filter; overrides LOG_LEVEL if set |
CARGO_PKG_VERSION | (from Cargo.toml) | Automatic | Compile-time crate version embedded in the startup banner |