Files
memind_adm/.env.example
T
John 9ecfa73831 Add embedded Express admin API and unified dev workflow.
Move admin backend into this repo (Express + MySQL on :8085) so npm run dev starts both API and Vite, with updated env defaults and Caddy config for gadm.tkmind.cn.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 16:29:06 -07:00

30 lines
937 B
Bash
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.
# ── 管理端 API(本仓库 server/,默认 8085)──
ADM_API_PORT=8085
ADM_DEV_BACKEND=http://127.0.0.1:8085
# ── MySQL(与 Memind 共用远程库,配置在本项目 .env)──
DATABASE_URL=mysql://boot:password@host:3306/goose
# 或分别设置:
# MYSQL_HOST=
# MYSQL_PORT=3306
# MYSQL_USER=boot
# MYSQL_PASSWORD=
# MYSQL_DATABASE=goose
# 用户工作区根目录(创建用户时使用)
H5_USERS_ROOT=/Users/john/Project/memind_adm/data/users
# 管理员(可选;设置后启动时同步到数据库)
# H5_ADMIN_USERNAME=admin
# H5_ADMIN_PASSWORD=change-me-admin
# LLM 配置同步(可选)
# TKMIND_API_TARGET=https://127.0.0.1:18006
# TKMIND_SERVER__SECRET_KEY=local-dev-secret
# Memind 业务模块路径(user-auth / llm-providers 等,默认 ../Memind
# MEMIND_LIB_ROOT=/Users/john/Project/Memind
# 点击「返回对话」时跳转到主 H5
VITE_MAIN_APP_URL=http://localhost:5173