- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
27 lines
593 B
Plaintext
27 lines
593 B
Plaintext
# Database Default Values
|
|
# Common defaults for database configuration
|
|
|
|
let database_schema = import "../../schemas/common/database.ncl" in
|
|
|
|
{
|
|
database | database_schema.DatabaseConfig = {
|
|
# Filesystem backend by default (no infrastructure required)
|
|
backend = "&",
|
|
|
|
# Default data path (can be overridden per service/workspace)
|
|
path = "/var/lib/provisioning/data",
|
|
|
|
# Connection pool size
|
|
pool_size = 10,
|
|
|
|
# Connection timeout: 30 seconds
|
|
timeout = 30000,
|
|
|
|
# Enable retry by default
|
|
retry = true,
|
|
|
|
# Max retry attempts
|
|
max_retries = 3,
|
|
},
|
|
}
|