Archived
更新配置文件
This commit is contained in:
1 file changed
+25
-8
+24
-7
@@ -5,18 +5,35 @@ servers:
|
|||||||
port: 5000
|
port: 5000
|
||||||
|
|
||||||
|
|
||||||
|
view:
|
||||||
|
# 默认显示主题
|
||||||
|
style: "lewd"
|
||||||
|
|
||||||
|
|
||||||
database:
|
database:
|
||||||
# 数据库类型
|
# 数据库类型
|
||||||
type: sqlite
|
# 可选 'SQLite' /'MySQL'/ -> 暂未开发
|
||||||
sqlite:
|
type: SQLite
|
||||||
|
SQLite:
|
||||||
|
# 数据库的路径,
|
||||||
|
# 需要从app.py文件所在目录为工作目录
|
||||||
path: "./bin/db/data.db"
|
path: "./bin/db/data.db"
|
||||||
|
|
||||||
|
|
||||||
# 暂未开发
|
# 暂未开发
|
||||||
# mysql:
|
MySQL:
|
||||||
# address: "localhost"
|
# 数据库地址
|
||||||
# port: 3306
|
host: "localhost"
|
||||||
# user: ""
|
# 数据库端口
|
||||||
# password: ""
|
port: 3306
|
||||||
|
# 数据库用户
|
||||||
|
user: "root"
|
||||||
|
# 数据库密码
|
||||||
|
password: ""
|
||||||
|
# 数据库名称
|
||||||
|
# 如果该数据库不存在则自动创建
|
||||||
|
db: "requestcounter"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user