Files
QuestionProject/ai_knowledge_base_v2/.env.example
Nelson 2dcb43b717 feat: 添加 frpc sidecar 容器(内网穿透,随项目自动启动)
- docker-compose.dev.yml: 新增 frpc 服务,通过 .env 环境变量配置
- deploy/frpc.Dockerfile: 基于 Alpine 构建,下载 frp 0.68.1 二进制
- deploy/frpc-entrypoint.sh: 由环境变量生成 frpc.toml 配置文件
- .env.example: 环境变量说明(占位值,不含真实凭证)
- .gitignore: 忽略 .env 文件,防止敏感信息提交
2026-07-09 11:53:04 +08:00

20 lines
691 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.
# ============================================
# 飞书知识库配置
# ============================================
FEISHU_APP_ID=
FEISHU_APP_SECRET=
FEISHU_SEARCH_URL=
# ============================================
# 内网穿透frpc sidecar
# 启动 docker compose 前,拷贝本文件为 .env 并填写
# 或直接在 shell 中 export 这些变量
# ============================================
FRP_SERVER_ADDR=your-server-ip
FRP_SERVER_PORT=7000
FRP_AUTH_TOKEN=your-auth-token
FRP_PROXY_NAME=qa-backend
# 映射到后端端口 8100
FRP_LOCAL_PORT=8100
# 自定义域名逗号分隔qa.yourdomain.com,your-server-ip
FRP_CUSTOM_DOMAINS=qa.yourdomain.com,your-server-ip