12
This commit is contained in:
12
config/config.yaml
Normal file
12
config/config.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
server:
|
||||
port: 8080
|
||||
mysql:
|
||||
host: 127.0.0.1
|
||||
port: 3306
|
||||
user: root
|
||||
password: secret
|
||||
database: r2_db
|
||||
log:
|
||||
level: debug # 支持 debug, info, warn, error
|
||||
format: console # 或 json
|
||||
output: stdout # 或 logs/app.log
|
||||
Reference in New Issue
Block a user