apiVersion: v1
kind: Secret
metadata:
  name: archon-secret
  namespace: unlkd
type: Opaque
stringData:
  # Supabase Configuration (REQUIRED)
  SUPABASE_URL: "https://your-project.supabase.co"
  SUPABASE_SERVICE_KEY: "your-service-role-key-here"
  SUPABASE_ANON_KEY: "your-anon-key-here"

  # OpenAI API Key (Optional - can be set via Settings UI)
  OPENAI_API_KEY: ""

  # Logfire Token (Optional - for observability)
  LOGFIRE_TOKEN: ""

  # Log Level
  LOG_LEVEL: "INFO"

  # Service Discovery Mode
  SERVICE_DISCOVERY_MODE: "kubernetes"

  # Service Ports
  ARCHON_SERVER_PORT: "8181"
  ARCHON_MCP_PORT: "8051"
  ARCHON_AGENTS_PORT: "8052"
  ARCHON_UI_PORT: "3737"

  # Host Configuration
  ARCHON_HOST: "server.digiworker.com.br"
  HOST: "archon.digiworker.com.br"

  # Agents Configuration
  AGENTS_ENABLED: "true"
  AGENTS_SERVICE_URL: "http://archon-agents:8052"

  # API Service URL (for MCP)
  API_SERVICE_URL: "http://archon-server:8181"

  # MCP Transport
  TRANSPORT: "sse"

  # Frontend Configuration
  VITE_ARCHON_SERVER_PORT: "8181"
  VITE_ALLOWED_HOSTS: "archon.digiworker.com.br"
  VITE_SHOW_DEVTOOLS: "false"
  DOCKER_ENV: "true"
  PROD: "true"
