File size: 641 Bytes
3e5c72a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# server base
PORT=9520
PREFIX=/docs
APIPREFIX=/api
# MySQL
# MySQL数据库主机地址
DB_HOST=127.0.0.1
# MySQL数据库端口号
DB_PORT=3306
# MySQL数据库用户名
DB_USER=root
# MySQL数据库密码
DB_PASS=a12345
# 要使用的MySQL数据库名称
DB_DATABASE=chatgpt
DB_SYNC=true
# jwt key token过期时间
JWT_SECRET=chat-cooper
JWT_EXPIRESIN=7d
# Redis
REDIS_PORT=6379
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=
REDIS_USER=
# 是否测试环境
ISDEV=FALSE
NAMESPACE=AIWEB
# ---
MAILER_HOST=outlook.office365.com
MAILER_PORT=587
MAILER_USER=coral-86@outlook.com
MAILER_PASS=abcde0230@T
MAILER_SECURE=true
#siteName
#siteUrl |