2025-04-30 16:35:25 +08:00

21 lines
607 B
YAML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

listen: 8889
runmode: local # 服务运行模式 debug/release
logs:
dir: ../log # 文件保存路径
file: public-message-service # 文件名称,实际会保存为{filename}+{datetime}
level: 3 # 日志等级0-error1-warning2-info3-debug
savefile: false # 是否保存为文件置为false会输出到标准输出
mysql: # 数据库信息
addr: 192.168.2.10:3306
user: quentin
password: sEK1BhVnYCzg6HvCgYuu
db: ns9
charset: utf8mb4
max_open: 500
max_idle: 5
#redis:
# addr: 120.25.84.150:6380
# password: 123456
# db: 0
# poolsize: 5