Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
mdBook Build & Deploy / Build mdBook (push) Has been cancelled
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
mdBook Build & Deploy / Documentation Quality Check (push) Has been cancelled
mdBook Build & Deploy / Deploy to GitHub Pages (push) Has been cancelled
mdBook Build & Deploy / Notification (push) Has been cancelled
170 lines
3.2 KiB
TOML
170 lines
3.2 KiB
TOML
# VAPORA Enterprise Deployment Configuration Example
|
|
#
|
|
# Production configuration with high availability, security, cost optimization,
|
|
# and enterprise-grade features. Copy to provisioning/config/runtime/vapora.enterprise.toml
|
|
#
|
|
# Prerequisites:
|
|
# - SurrealDB cluster with replication
|
|
# - NATS JetStream cluster
|
|
# - TLS certificates and keys configured
|
|
# - Multi-provider LLM setup (Claude, OpenAI, Gemini)
|
|
#
|
|
# Generated: 2026-01-12
|
|
|
|
deployment_mode = "enterprise"
|
|
workspace_name = "vapora-workspace"
|
|
|
|
[backend]
|
|
host = "0.0.0.0"
|
|
port = 8001
|
|
workers = 8
|
|
request_timeout = 30000
|
|
keep_alive = 75
|
|
max_connections = 2000
|
|
graceful_shutdown = true
|
|
shutdown_timeout = 60
|
|
|
|
[backend.auth]
|
|
method = "jwt"
|
|
jwt_secret = ""
|
|
jwt_ttl = 3600
|
|
mfa_enabled = true
|
|
audit_logging = true
|
|
|
|
[backend.database]
|
|
url = "ws://surrealdb-cluster:8000"
|
|
username = "root"
|
|
password = ""
|
|
database = "vapora"
|
|
pool_size = 50
|
|
connection_timeout = 30
|
|
|
|
[backend.storage]
|
|
backend = "filesystem"
|
|
path = "/var/lib/vapora/storage"
|
|
|
|
[backend.cache]
|
|
enabled = true
|
|
ttl = 3600
|
|
max_size = 536870912
|
|
|
|
[agents]
|
|
host = "0.0.0.0"
|
|
port = 8002
|
|
max_instances = 50
|
|
heartbeat_interval = 60
|
|
health_check_timeout = 5
|
|
|
|
[agents.learning]
|
|
enabled = true
|
|
recency_window_days = 14
|
|
recency_multiplier = 3.5
|
|
|
|
[agents.learning.scoring]
|
|
load_weight = 0.3
|
|
expertise_weight = 0.5
|
|
confidence_weight = 0.2
|
|
|
|
[agents.knowledge_graph]
|
|
enabled = true
|
|
retention_days = 90
|
|
causal_reasoning = true
|
|
similarity_search = true
|
|
|
|
[agents.swarm]
|
|
enabled = true
|
|
load_balancing_strategy = "weighted"
|
|
capability_filtering = true
|
|
|
|
[agents.nats]
|
|
enabled = true
|
|
url = "nats://nats-cluster:4222"
|
|
timeout = 120
|
|
|
|
[agents.registry]
|
|
persistence = true
|
|
path = "/var/lib/vapora/agents/registry"
|
|
|
|
[llm_router]
|
|
host = "0.0.0.0"
|
|
port = 8003
|
|
|
|
[llm_router.cost_tracking]
|
|
enabled = true
|
|
track_tokens = true
|
|
track_latency = true
|
|
reporting_interval = 600
|
|
|
|
[llm_router.budget_enforcement]
|
|
enabled = true
|
|
window = "monthly"
|
|
near_threshold_percent = 75
|
|
auto_fallback = true
|
|
detailed_tracking = true
|
|
|
|
[llm_router.budget_enforcement.role_limits]
|
|
architect_cents = 1500000
|
|
developer_cents = 1000000
|
|
reviewer_cents = 600000
|
|
testing_cents = 400000
|
|
|
|
[llm_router.providers]
|
|
claude_enabled = true
|
|
openai_enabled = true
|
|
gemini_enabled = true
|
|
ollama_enabled = true
|
|
ollama_url = "http://ollama-cluster:11434"
|
|
|
|
[llm_router.routing]
|
|
strategy = "cost_aware"
|
|
fallback_chain = ["claude-opus", "gpt-4", "gemini-pro", "ollama"]
|
|
retry_attempts = 5
|
|
retry_delay = 500
|
|
request_timeout = 120
|
|
|
|
[llm_router.logging]
|
|
level = "info"
|
|
detailed_cost_logs = true
|
|
|
|
[frontend]
|
|
host = "0.0.0.0"
|
|
port = 3000
|
|
api_url = "https://api.vapora.production"
|
|
enable_wasm = true
|
|
|
|
[database]
|
|
url = "ws://surrealdb-cluster:8000"
|
|
username = "root"
|
|
password = ""
|
|
database = "vapora"
|
|
pool_size = 100
|
|
|
|
[nats]
|
|
enabled = true
|
|
url = "nats://nats-cluster:4222"
|
|
timeout = 120
|
|
|
|
[providers]
|
|
claude_enabled = true
|
|
openai_enabled = true
|
|
gemini_enabled = true
|
|
ollama_enabled = true
|
|
ollama_url = "http://ollama-cluster:11434"
|
|
|
|
[monitoring]
|
|
prometheus_enabled = true
|
|
log_level = "info"
|
|
tracing_enabled = true
|
|
metrics_path = "/metrics"
|
|
|
|
[security]
|
|
jwt_secret = ""
|
|
tls_enabled = true
|
|
tls_cert_path = "/etc/vapora/certs/tls.crt"
|
|
tls_key_path = "/etc/vapora/certs/tls.key"
|
|
|
|
[storage]
|
|
base_path = "/var/lib/vapora"
|
|
backup_enabled = true
|
|
backup_interval = 6
|