Vapora/provisioning/config/examples/vapora.multiuser.example.toml
Jesús Pérez a395bd972f
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
chore: add cd/ci ops
2026-01-12 03:36:55 +00:00

168 lines
3.1 KiB
TOML

# VAPORA Multiuser Deployment Configuration Example
#
# Team collaboration mode with NATS coordination, cost tracking, and MFA.
# Copy this to provisioning/config/runtime/vapora.multiuser.toml and customize as needed.
#
# Prerequisites:
# - SurrealDB running on nats://surrealdb:8000
# - NATS JetStream running on nats://nats:4222
#
# Generated: 2026-01-12
deployment_mode = "multiuser"
workspace_name = "vapora-workspace"
[backend]
host = "0.0.0.0"
port = 8001
workers = 4
request_timeout = 30000
keep_alive = 75
max_connections = 500
graceful_shutdown = true
shutdown_timeout = 30
[backend.auth]
method = "jwt"
jwt_secret = ""
jwt_ttl = 3600
mfa_enabled = true
audit_logging = true
[backend.database]
url = "ws://surrealdb:8000"
username = "root"
password = ""
database = "vapora"
pool_size = 20
connection_timeout = 30
[backend.storage]
backend = "filesystem"
path = "/var/lib/vapora/storage"
[backend.cache]
enabled = true
ttl = 3600
max_size = 104857600
[agents]
host = "0.0.0.0"
port = 8002
max_instances = 10
heartbeat_interval = 300
health_check_timeout = 5
[agents.learning]
enabled = true
recency_window_days = 7
recency_multiplier = 3.0
[agents.learning.scoring]
load_weight = 0.3
expertise_weight = 0.5
confidence_weight = 0.2
[agents.knowledge_graph]
enabled = true
retention_days = 30
causal_reasoning = true
similarity_search = true
[agents.swarm]
enabled = true
load_balancing_strategy = "weighted"
capability_filtering = true
[agents.nats]
enabled = true
url = "nats://nats:4222"
timeout = 60
[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 = 3600
[llm_router.budget_enforcement]
enabled = true
window = "monthly"
near_threshold_percent = 80
auto_fallback = true
detailed_tracking = true
[llm_router.budget_enforcement.role_limits]
architect_cents = 500000
developer_cents = 300000
reviewer_cents = 200000
testing_cents = 100000
[llm_router.providers]
claude_enabled = true
openai_enabled = true
gemini_enabled = false
ollama_enabled = false
ollama_url = "http://localhost:11434"
[llm_router.routing]
strategy = "balanced"
fallback_chain = ["claude", "gpt-4", "gemini", "ollama"]
retry_attempts = 3
retry_delay = 1000
request_timeout = 60
[llm_router.logging]
level = "info"
detailed_cost_logs = true
[frontend]
host = "0.0.0.0"
port = 3000
api_url = "https://api.vapora.internal:8001"
enable_wasm = true
[database]
url = "ws://surrealdb:8000"
username = "root"
password = ""
database = "vapora"
pool_size = 30
[nats]
enabled = true
url = "nats://nats:4222"
timeout = 60
[providers]
claude_enabled = true
openai_enabled = true
gemini_enabled = false
ollama_enabled = false
ollama_url = "http://localhost: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 = 24