# VAPORA Multiuser Deployment Mode Defaults
# Team collaboration configuration with moderate resource allocation

{
  deployment_mode = "multiuser",

  backend = {
    host = "0.0.0.0",
    port = 8001,
    workers = 4,
    request_timeout = 30000,
    max_connections = 500,
    auth.jwt_ttl = 3600,
    auth.mfa_enabled = true,
    auth.audit_logging = true,
    database.pool_size = 20,
    storage.path = "/var/lib/vapora/storage",
  },

  agents = {
    host = "0.0.0.0",
    port = 8002,
    max_instances = 10,
    heartbeat_interval = 300,
    learning.enabled = true,
    learning.recency_window_days = 7,
    knowledge_graph.enabled = true,
    knowledge_graph.retention_days = 30,
    swarm.enabled = true,
    nats.enabled = true,
    nats.url = "nats://nats:4222",
  },

  llm_router = {
    host = "0.0.0.0",
    port = 8003,
    cost_tracking.enabled = true,
    budget_enforcement.enabled = true,
    budget_enforcement.window = "monthly",
    budget_enforcement.role_limits = {
      architect_cents = 500000,
      developer_cents = 300000,
      reviewer_cents = 200000,
      testing_cents = 100000,
    },
    routing.strategy = "balanced",
    routing.fallback_chain = ["claude", "gpt-4", "gemini", "ollama"],
  },

  frontend = {
    host = "0.0.0.0",
    port = 3000,
  },

  database = {
    url = "ws://surrealdb:8000",
    pool_size = 30,
  },

  nats = {
    enabled = true,
    url = "nats://nats:4222",
  },

  monitoring = {
    prometheus_enabled = true,
    log_level = "info",
    tracing_enabled = true,
  },

  security = {
    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,
  },
}
