ssh-manager/config.toml

27 lines
654 B
TOML
Raw Permalink Normal View History

2020-11-16 16:41:02 +08:00
#配置文件
[Web]
model = "release" #debug release test
port = "0.0.0.0:8082" #服务要运行的端口
[Database]
2021-10-18 20:59:21 +08:00
host = "cdb-0qcrt7qc.cd.tencentcdb.com"
port = 10109
username = "ssh" #数据库账号
password = "ssh@root" #数据库密码
2020-11-16 16:41:02 +08:00
dbname = "ssh" #数据库名
poolsize = 10 #Mysql连接池大小
[Redis]
2021-10-18 20:59:21 +08:00
host = "db.timemail.email"
2020-11-16 16:41:02 +08:00
port = 6379
2021-10-18 20:59:21 +08:00
password = "timemail.email" #没有则不填
2020-11-16 16:41:02 +08:00
poolsize = 10 #Redis连接池大小
[Alisms] #阿里云短信配置
2020-11-16 16:41:02 +08:00
accessid = "—"
accesskey = "-"
signname = "-" #短信签名
template = "-" #模板代码
[Jwt]
2021-10-18 20:59:21 +08:00
key = "rainerosion"