JhHardwareWRS_BackPoint/.env.development.example
2026-07-24 21:55:59 +08:00

35 lines
1020 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.

# 本地开发环境模板
# 使用方式cp .env.development.example .env
# 注意:如果本地连接线上数据库,不要开启 BACKGROUND_TASKS_ENABLED避免本机抢占线上后台任务。
# 数据库连接配置
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_DATABASE=jiaheng_erp
MYSQL_USER=root
MYSQL_PASSWORD=change_me
# 应用运行配置
APP_ENV=development
APP_TIMEZONE=Asia/Shanghai
JWT_SECRET=change_me_to_a_long_random_string
TOKEN_EXPIRE_MINUTES=43200
AUTO_CREATE_TABLES=false
BACKGROUND_TASKS_ENABLED=false
# 微信小程序配置
WECHAT_APP_ID=
WECHAT_APP_SECRET=
WECHAT_QR_ENV_VERSION=release
JH_QR_FONT_PATH=
# 静态资源与公网访问配置
# 手机真机调试时PUBLIC_BASE_URL 通常需要改为本机局域网地址,例如 http://192.168.x.x:8020。
PUBLIC_BASE_URL=http://127.0.0.1:8000
UPLOAD_DIR=uploads
# ERP 扫码登录配置
ERP_API_BASE_URL=http://127.0.0.1:8000
ERP_QR_LOGIN_SHARED_SECRET=replace-with-same-secret-on-erp-backend
ERP_LOGIN_QRCODE_DIR=erp-login-qrcodes