58 lines
1.1 KiB
TOML
58 lines
1.1 KiB
TOML
|
|
[taskserv]
|
||
|
|
name = "vapora-mcp-gateway"
|
||
|
|
type = "service"
|
||
|
|
version = "0.2.0"
|
||
|
|
description = "MCP (Model Context Protocol) Gateway - Plugin System"
|
||
|
|
|
||
|
|
[source]
|
||
|
|
repository = "ssh://git@repo.jesusperez.pro:32225/jesus/Vapora.git"
|
||
|
|
branch = "main"
|
||
|
|
path = "vapora-mcp-gateway/"
|
||
|
|
|
||
|
|
[build]
|
||
|
|
runtime = "rust"
|
||
|
|
build_command = "cargo build --release -p vapora-mcp-gateway"
|
||
|
|
|
||
|
|
[deployment]
|
||
|
|
namespace = "vapora-system"
|
||
|
|
replicas = 2
|
||
|
|
image = "vapora/mcp-gateway"
|
||
|
|
image_tag = "${version}"
|
||
|
|
|
||
|
|
[ports]
|
||
|
|
http = 8888
|
||
|
|
metrics = 9090
|
||
|
|
|
||
|
|
[resources]
|
||
|
|
requests = { cpu = "1000m", memory = "2Gi" }
|
||
|
|
limits = { cpu = "2000m", memory = "4Gi" }
|
||
|
|
|
||
|
|
[health_check]
|
||
|
|
type = "http"
|
||
|
|
path = "/health"
|
||
|
|
interval_secs = 10
|
||
|
|
|
||
|
|
[environment]
|
||
|
|
NATS_URL = "nats://nats-0.vapora-system:4222"
|
||
|
|
DATABASE_URL = "surrealdb://surrealdb-0.vapora-system:8000"
|
||
|
|
MCP_PLUGINS_PATH = "/plugins"
|
||
|
|
RUST_LOG = "debug,vapora_mcp=trace"
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
required = ["nats", "surrealdb"]
|
||
|
|
optional = []
|
||
|
|
|
||
|
|
[scaling]
|
||
|
|
min_replicas = 2
|
||
|
|
max_replicas = 5
|
||
|
|
target_cpu = 70
|
||
|
|
|
||
|
|
[persistence]
|
||
|
|
enabled = true
|
||
|
|
size = "10Gi"
|
||
|
|
mount_path = "/plugins"
|
||
|
|
storage_class = "ssd"
|
||
|
|
|
||
|
|
[monitoring]
|
||
|
|
prometheus_metrics = true
|