- 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/
37 lines
865 B
Plaintext
37 lines
865 B
Plaintext
# Extension Registry Default Configuration
|
|
# Minimal defaults when no configuration is provided
|
|
|
|
let registry_schema = import "../schemas/extension-registry.ncl" in
|
|
|
|
{
|
|
extension_registry | registry_schema.RegistryConfig = {
|
|
server = {
|
|
host = "127.0.0.1",
|
|
port = 8081,
|
|
workers = 4,
|
|
enable_cors = false,
|
|
enable_compression = true,
|
|
},
|
|
|
|
# Default single Gitea source (auto-migrated from legacy format if needed)
|
|
sources = {
|
|
gitea = [
|
|
{
|
|
url = "http://localhost:3000",
|
|
organization = "provisioning",
|
|
token_path = "/etc/secrets/gitea-token.txt",
|
|
timeout_seconds = 30,
|
|
verify_ssl = false,
|
|
},
|
|
],
|
|
},
|
|
|
|
cache = {
|
|
capacity = 1000,
|
|
ttl_seconds = 300,
|
|
enable_metadata_cache = true,
|
|
enable_list_cache = true,
|
|
},
|
|
},
|
|
}
|