40 lines
511 B
TOML
40 lines
511 B
TOML
|
|
# 服务基础配置
|
||
|
|
[base]
|
||
|
|
# 服务端口
|
||
|
|
port=3000
|
||
|
|
reload=true
|
||
|
|
# 进程数
|
||
|
|
workers=1
|
||
|
|
|
||
|
|
[project]
|
||
|
|
# 登录有效期,单位:天, 默认为十天
|
||
|
|
tokenTIme=0.1
|
||
|
|
|
||
|
|
|
||
|
|
[mysql.DB199]
|
||
|
|
host="192.168.18.199"
|
||
|
|
port=3306
|
||
|
|
username="root"
|
||
|
|
password="Chlry#$.8"
|
||
|
|
database="db_gp_cj"
|
||
|
|
|
||
|
|
[mysql.DB150]
|
||
|
|
host="192.168.16.150"
|
||
|
|
port=3306
|
||
|
|
username="root"
|
||
|
|
password="Chlry$%.8pattern"
|
||
|
|
database="factordb_mysql"
|
||
|
|
|
||
|
|
|
||
|
|
[redis.base]
|
||
|
|
ip="192.168.18.208"
|
||
|
|
port=6379
|
||
|
|
username=""
|
||
|
|
password="wlkj2018"
|
||
|
|
db=13
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
[log]
|
||
|
|
# 是否开启debug
|
||
|
|
debug=false
|