Files
Edu/apps/admin-portal/.env.example
SpecialX b3511910d1 feat(admin-portal): 完整实现 admin-portal 管理端微前端
包含 src 全部实现、Dockerfile、配置文件等
2026-07-10 19:09:12 +08:00

22 lines
642 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# admin-portal 环境变量
# GraphQL endpoint(经 api-gateway 代理到 teacher-bff admin 命名空间)
API_GATEWAY_URL=http://localhost:8080
# MSW mock 开关(上游就绪后设为 disabled)
NEXT_PUBLIC_API_MOCKING=enabled
# MF 开关(Shell 就绪后设为 true)
NEXT_PUBLIC_MF_ENABLED=false
# Shell URL(standalone 壳用于 /api/ready 检查)
NEXT_PUBLIC_SHELL_URL=http://localhost:4000
# push-gateway WebSocket(实时通知)
NEXT_PUBLIC_WS_URL=ws://localhost:8081/ws
# OTel collector
NEXT_PUBLIC_OTEL_ENDPOINT=http://localhost:4318
# Web Vitals 上报端点
NEXT_PUBLIC_WEB_VITALS_ENDPOINT=/api/admin/web-vitals