Files
yaoyaoai/.env.example
fengchuanhn@gmail.com 3db327d93b 22
2026-05-17 12:54:13 +08:00

24 lines
707 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.
APP_NAME=aiclient-api
DEBUG=true
# MySQLaiomysql
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_USER=root
MYSQL_PASSWORD=
MYSQL_DATABASE=aiclient
# Redis
REDIS_URL=redis://127.0.0.1:6379/0
# JWT
SECRET_KEY=change-me-to-a-long-random-string
ACCESS_TOKEN_EXPIRE_MINUTES=10080
# CORS逗号分隔* 表示允许全部)
CORS_ORIGINS=http://localhost:1420,tauri://localhost
# 桌面端配置写入 MySQL 表 desktop_configsname / value非本文件环境变量。
# 登录后 GET /api/v1/appConfig 返回全部键值Tauri 注入 Node 环境变量 AICLIENT_CFG_<NAME>。
# 示例键名LLM_API_KEY、LLM_API_URL、LLM_MODEL_ID、ASR_MODE、DASHSCOPE_API_KEY、OSS_CONFIGJSON等。