# ============================================================================= # apps/web — Environment Variables # 複製此檔案為 .env.local 並填入實際值 # 生成日期: 2026-04-22 Claude Code # ============================================================================= # ---------------------------------------------------------------------------- # 必填 (REQUIRED) # ---------------------------------------------------------------------------- # API 後端 URL(Next.js build-time 寫入 JS bundle,禁止使用內網 IP) NEXT_PUBLIC_API_URL=http://192.168.0.188:32334 # ---------------------------------------------------------------------------- # 可選 (OPTIONAL) # ---------------------------------------------------------------------------- # 是否啟用 Demo 模式(true/false) NEXT_PUBLIC_ENABLE_DEMO=false # SignOz 可觀測性平台 URL NEXT_PUBLIC_SIGNOZ_URL=http://192.168.0.110:3301 # 主機 IP 列表(逗號分隔,live-dashboard 用於 fallback 顯示) NEXT_PUBLIC_HOST_IPS=192.168.0.110,192.168.0.112,192.168.0.120,192.168.0.188 # K8s Cluster VIP 資訊字串(host-grid 顯示用) NEXT_PUBLIC_K8S_VIP_INFO=VIP 192.168.0.125 · kubectl :6443 · Web :32335 · API :32334 # ---------------------------------------------------------------------------- # Server-side Only(不含 NEXT_PUBLIC_ 前綴,不會暴露在 JS bundle) # ---------------------------------------------------------------------------- # Sentry 自建主機 URL(sentry-tunnel route handler 使用) SENTRY_HOST=http://192.168.0.110:9000