2024-02-23 09:22:07 +08:00
|
|
|
# 服务配置
|
|
|
|
server:
|
|
|
|
# 服务端口
|
|
|
|
port: 9091
|
|
|
|
|
|
|
|
# 数据源
|
|
|
|
datasource:
|
|
|
|
# 数据库访问url
|
|
|
|
dsn: root:Joylink@0503@tcp(172.29.5.167:3306)/bj-rtsts?charset=utf8mb4&parseTime=true&loc=UTC
|
|
|
|
|
|
|
|
# 日志配置
|
|
|
|
logging:
|
|
|
|
# 日志级别
|
|
|
|
level: info
|
|
|
|
# 格式化
|
|
|
|
# format: json
|
|
|
|
# 日志文件路径
|
2024-06-13 18:35:17 +08:00
|
|
|
path: /home/joylink/logs/bjrtsts
|
2024-02-23 09:22:07 +08:00
|
|
|
# 日志文件名
|
|
|
|
fileName: bjrtsts.log
|
|
|
|
# 单个日志文件大小,单位mb,超过会自动滚动
|
|
|
|
fileMaxSize: 50
|
|
|
|
# 日志文件最大备份数量
|
|
|
|
fileMaxBackups: 100
|
|
|
|
# 日志文件最大保留时间,单位 天
|
|
|
|
maxAge: 30
|
|
|
|
# 是否压缩日志
|
|
|
|
compress: false
|
|
|
|
# 控制台是否输出
|
|
|
|
stdout: false
|
|
|
|
|
|
|
|
# 消息配置
|
|
|
|
messaging:
|
|
|
|
mqtt:
|
|
|
|
address: tcp://172.29.5.168:1883
|
|
|
|
username: rtsts_service
|
|
|
|
password: joylink@0503
|