summaryrefslogtreecommitdiff
path: root/config.control.example.json
diff options
context:
space:
mode:
authorChia <Chia@93.nz>2026-08-04 19:58:52 +1200
committerChia <Chia@93.nz>2026-08-04 20:43:23 +1200
commit5b651488b081b65fda8a323f228e139adb79a35d (patch)
tree08baf40efb8fe103b32721cd991ff712323e3173 /config.control.example.json
Build AI gateway control plane and admin UI
Diffstat (limited to '')
-rw-r--r--config.control.example.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/config.control.example.json b/config.control.example.json
new file mode 100644
index 0000000..d2affaf
--- /dev/null
+++ b/config.control.example.json
@@ -0,0 +1,40 @@
+{
+ "server": {
+ "address": ":8080",
+ "max_body_bytes": 16777216,
+ "read_header_timeout_seconds": 10,
+ "idle_timeout_seconds": 120,
+ "shutdown_timeout_seconds": 20
+ },
+ "auth": {
+ "allow_anonymous": false
+ },
+ "control_plane": {
+ "enabled": true,
+ "database_url_env": "AIGW_DATABASE_URL",
+ "redis_url_env": "AIGW_REDIS_URL",
+ "credential_key_env": "AIGW_CREDENTIAL_KEY",
+ "redis_channel": "aigw:control:changed",
+ "snapshot_cache_key": "aigw:control:generation",
+ "reload_interval_seconds": 30,
+ "auto_migrate": true
+ },
+ "admin": {
+ "enabled": true,
+ "token_env": "AIGW_ADMIN_TOKEN",
+ "base_path": "/admin"
+ },
+ "upstream_http": {
+ "max_idle_connections": 4096,
+ "max_idle_connections_per_host": 1024,
+ "idle_connection_timeout_seconds": 90,
+ "response_header_timeout_seconds": 60
+ },
+ "observability": {
+ "usage_buffer": 8192,
+ "expose_metrics": true
+ },
+ "providers": [],
+ "models": []
+}
+