32 lines
630 B
TOML
Raw Normal View History

2025-10-07 10:59:52 +01:00
# Extension Registry Configuration Example
[server]
2026-01-12 05:07:30 +00:00
enable_compression = true
enable_cors = true
2025-10-07 10:59:52 +01:00
host = "0.0.0.0"
port = 8082
workers = 4
# Gitea backend configuration
[gitea]
organization = "provisioning-extensions"
timeout_seconds = 30
2026-01-12 05:07:30 +00:00
token_path = "/path/to/gitea-token.txt"
url = "https://gitea.example.com"
2025-10-07 10:59:52 +01:00
verify_ssl = true
# OCI registry configuration
[oci]
auth_token_path = "/path/to/oci-token.txt"
2026-01-12 05:07:30 +00:00
namespace = "provisioning"
registry = "registry.example.com"
2025-10-07 10:59:52 +01:00
timeout_seconds = 30
verify_ssl = true
# Cache configuration
[cache]
capacity = 1000
enable_list_cache = true
2026-01-12 05:07:30 +00:00
enable_metadata_cache = true
ttl_seconds = 300