Files
ai_site/.env.example
whm b04b180d30 feat: harden loose-offline sync for user JWT, schema, and console ops
Enable Binding-scoped agent push/pull, empty-table schema ensure, SyncPage inspect/drop-table, default module import, and agent-bound publish docs from the 宇恒联调意见.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 09:47:35 +08:00

47 lines
1.6 KiB
Plaintext
Raw Permalink 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.
# =============================================================================
# 本地 / 测试环境模板
# 用法cp .env.example .env 后填入 API Key再 ./start.sh 或 ./restart.sh
# 密钥勿提交 Git生产见 .env.production
# =============================================================================
# ---- LLM ----
LLM_PROVIDER=deepseek
DEEPSEEK_API_KEY=
MINIMAX_API_KEY=
# 视觉(可选;默认读 llm.yaml 的 vision 段,也可用环境变量覆盖)
VISION_PROVIDER=dashscope
DASHSCOPE_API_KEY=
DASHSCOPE_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
VISION_MODEL=qwen3.6-plus
# AI_CONFIG_PATH=/app/etc/llm.yaml
# 有截图时:视觉摘录 → 蓝图 → 发布截真页 → 对比打分
FIDELITY_LOOP=1
FIDELITY_TARGET=95
FIDELITY_MAX_ROUNDS=4
FIDELITY_REAL_SCREEN=1
PLATFORM_BASE=http://127.0.0.1:8180
WEB_BASE=http://127.0.0.1:5173
FIDELITY_USER=demo
FIDELITY_PASSWORD=demo123
# FIDELITY_SHOT_DIR=E:/project/ai建站/test/_out
# ---- 同机 Docker 端口(本地测试绑 127.0.0.1----
AIJZ_WEB_PUBLISH=127.0.0.1:5173
AIJZ_GATEWAY_PUBLISH=127.0.0.1:8180
AIJZ_PLATFORM_PUBLISH=127.0.0.1:8888
AIJZ_AI_PUBLISH=127.0.0.1:8001
AIJZ_PG_PUBLISH=127.0.0.1:5432
# 宿主机已有 Postgres 时改为AIJZ_PG_PUBLISH=127.0.0.1:15432
# 需要局域网直连时改为AIJZ_WEB_PUBLISH=0.0.0.0:5173
# ---- 本地测试:不开宿主机域名 Nginx ----
AIJZ_ENABLE_HOST_NGINX=0
# AIJZ_DOMAIN=
AIJZ_PUBLIC_BASE_URL=http://127.0.0.1:8180
# 本地想跳过 Docker、直接 nativeAIJZ_USE_HOST=1
# AIJZ_USE_HOST=1
# Docker 半挂时最长空等秒数(进程在但引擎不通时脚本最多等 15s
# AIJZ_DOCKER_WAIT_SEC=30