apiVersion: v1 kind: ConfigMap metadata: name: openmotion-config namespace: openmotion labels: app.kubernetes.io/name: openmotion-config app.kubernetes.io/part-of: openmotion # Every key below matches src/infra/config.ts verbatim. data: # Core service NODE_ENV: "production" APP_PUBLIC_ORIGIN: "https://motion.example.com" PREVIEW_PUBLIC_ORIGIN: "https://preview.openmotion.example.com" PREVIEW_TOKEN_TTL_SEC: "900" PORT: "4173" BIND_HOST: "0.0.0.0" LOG_LEVEL: "info" # Database & Redis PG_POOL_MAX: "20" REDIS_CACHE_TTL_SEC: "3600" # Object storage (S3 / Cloudflare R2 / RustFS / MinIO) S3_ENDPOINT: "https://s3.example.com" S3_PUBLIC_ENDPOINT: "https://s3.example.com" S3_REGION: "auto" S3_BUCKET: "openmotion" S3_FORCE_PATH_STYLE: "false" S3_PRESIGN_PUT_TTL_SEC: "900" S3_PRESIGN_GET_TTL_SEC: "300" S3_PRESIGN_CACHE_WINDOW_SEC: "3600" # Auth & OIDC (production strictly requires AUTH_MODE=oidc) # For OpenDesign / Vela Better Auth OIDC, set OIDC_ISSUER to "https://amr-api.open-design.ai/api/auth" AUTH_MODE: "oidc" ALLOW_INSECURE_DEV_AUTH: "false" TRUST_PROXY_HOPS: "1" OIDC_ISSUER: "https://auth.example.com" OIDC_CLIENT_ID: "openmotion-web" OIDC_CALLBACK_URL: "https://motion.example.com/auth/callback" OIDC_SCOPES: "openid profile email" OIDC_CLAIM_SUB: "sub" OIDC_CLAIM_EMAIL: "email" OIDC_CLAIM_NAME: "name" OIDC_CLAIM_WORKSPACE: "workspace_id" # Remote MCP OAuth 2.1 & body limit (10 MiB) MCP_OAUTH_MODE: "proxy" MCP_OAUTH_ISSUER: "https://motion.example.com" MCP_MAX_BODY_BYTES: "10485760" # Unified OpenDesign Model Gateway MODEL_GATEWAY_MODE: "opendesign" OPENDESIGN_API_URL: "https://amr-api.open-design.ai" OPENDESIGN_LINK_URL: "https://amr-link.open-design.ai" OPENDESIGN_CONSOLE_URL: "https://open-design.ai/cloud" OPENDESIGN_PRICING_URL: "https://open-design.ai/pricing" # Dedicated cluster-internal AMR service URL for One Tap S2S (challenge / exchange / handoff-ticket). # Never falls back to public OPENDESIGN_API_URL. Matches AMR API Service in `nexu` namespace on port 18080. OPENDESIGN_ONE_TAP_INTERNAL_URL: "http://amr-api.nexu.svc.cluster.local:18080" OPENDESIGN_ASR_URL: "" OPENDESIGN_BILLING_SYNC_ENABLED: "true" ALLOW_DOH_FAKEIP_FALLBACK: "false" # Worker concurrency, history coalescing & CAS GC tuning (7-day Mark-and-Sweep grace) MEDIA_CONCURRENCY: "20" RENDER_CONCURRENCY: "1" RENDER_CAPTURE_WORKERS: "auto" BLOB_GC_GRACE_SECONDS: "604800" HISTORY_COALESCE_WINDOW_MS: "4000" # Catalog CAS sync CATALOG_SYNC_FETCH_REMOTE: "true" # Cloud web observability (Sentry DSN injected into Studio SPA HTML; empty = disabled) SENTRY_WEB_DSN: "" SENTRY_ENVIRONMENT: "production" SENTRY_RELEASE: "" SENTRY_TRACES_SAMPLE_RATE: "0.1" # Cloud web & worker analytics (PostHog + optional Tracert; empty = disabled) OPENMOTION_TRACKING_ENABLED: "0" OPENMOTION_CLOUD_TRACKING_FULL: "" OPENMOTION_POSTHOG_TOKEN: "" OPENMOTION_POSTHOG_HOST: "https://us.i.posthog.com" OPENMOTION_TRACKING_INSTALLATION_ID: "" OPENMOTION_TRACERT_SPM_A: "" OPENMOTION_TRACERT_ENDPOINT: ""