mirror of
https://github.com/vastxie/99AI.git
synced 2024-11-16 03:32:42 +08:00
37 lines
473 B
Plaintext
37 lines
473 B
Plaintext
# server base
|
|
PORT=9520
|
|
PREFIX=/docs
|
|
APIPREFIX=/api
|
|
|
|
# mysql
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_USER=root
|
|
DB_PASS=
|
|
DB_DATABASE=chatgpt
|
|
DB_SYNC=true
|
|
|
|
# jwt key token过期时间
|
|
JWT_SECRET=chat-cooper
|
|
JWT_EXPIRESIN=7d
|
|
|
|
# mailer 邮件服务
|
|
MAILER_HOST=smtp.qq.com
|
|
MAILER_PORT=587
|
|
MAILER_USER=
|
|
MAILER_PASS=
|
|
MAILER_FROM=
|
|
|
|
# Redis
|
|
REDIS_PORT=6379
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PASSWORD=
|
|
REDIS_USER=
|
|
|
|
# 是否测试环境
|
|
ISDEV=FALSE
|
|
|
|
# mj并发数
|
|
CONCURRENCY=5
|
|
|
|
NAMESPACE=NINEAI |