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,
|
||
|
|
},
|
||
|
|
}
|