32 lines
630 B
TOML
32 lines
630 B
TOML
|
|
# Extension Registry Configuration Example
|
||
|
|
|
||
|
|
[server]
|
||
|
|
host = "0.0.0.0"
|
||
|
|
port = 8082
|
||
|
|
workers = 4
|
||
|
|
enable_cors = true
|
||
|
|
enable_compression = true
|
||
|
|
|
||
|
|
# Gitea backend configuration
|
||
|
|
[gitea]
|
||
|
|
url = "https://gitea.example.com"
|
||
|
|
organization = "provisioning-extensions"
|
||
|
|
token_path = "/path/to/gitea-token.txt"
|
||
|
|
timeout_seconds = 30
|
||
|
|
verify_ssl = true
|
||
|
|
|
||
|
|
# OCI registry configuration
|
||
|
|
[oci]
|
||
|
|
registry = "registry.example.com"
|
||
|
|
namespace = "provisioning"
|
||
|
|
auth_token_path = "/path/to/oci-token.txt"
|
||
|
|
timeout_seconds = 30
|
||
|
|
verify_ssl = true
|
||
|
|
|
||
|
|
# Cache configuration
|
||
|
|
[cache]
|
||
|
|
capacity = 1000
|
||
|
|
ttl_seconds = 300
|
||
|
|
enable_metadata_cache = true
|
||
|
|
enable_list_cache = true
|