2023-07-14 10:16:58 +08:00
|
|
|
# 服务配置
|
|
|
|
server:
|
|
|
|
# 服务端口
|
2023-07-31 10:51:44 +08:00
|
|
|
port: 9091
|
2023-07-26 17:02:53 +08:00
|
|
|
|
2023-07-14 10:16:58 +08:00
|
|
|
# 数据源
|
|
|
|
datasource:
|
|
|
|
# 数据库访问url
|
2024-03-19 08:28:50 +08:00
|
|
|
dsn: root:root@tcp(127.0.0.1:3306)/bj-rtss?charset=utf8mb4&parseTime=true&loc=UTC
|
|
|
|
# dsn: root:joylink0503@tcp(192.168.33.233:3306)/bj-rtss?charset=utf8mb4&parseTime=true&loc=UTC
|
2024-02-04 14:28:04 +08:00
|
|
|
|
|
|
|
# 日志配置
|
2023-07-14 10:16:58 +08:00
|
|
|
logging:
|
|
|
|
# 日志级别
|
|
|
|
level: debug
|
|
|
|
# 格式化
|
|
|
|
# format: json
|
|
|
|
# 日志文件路径
|
2023-08-18 10:22:17 +08:00
|
|
|
path: /logs/bjrtsts
|
2023-07-14 10:16:58 +08:00
|
|
|
# 日志文件名
|
2023-08-18 10:22:17 +08:00
|
|
|
fileName: bjrtsts.log
|
2023-07-14 10:16:58 +08:00
|
|
|
# 单个日志文件大小,单位mb,超过会自动滚动
|
2023-08-18 10:22:17 +08:00
|
|
|
fileMaxSize: 5
|
2023-07-14 10:16:58 +08:00
|
|
|
# 日志文件最大备份数量
|
|
|
|
fileMaxBackups: 100
|
|
|
|
# 日志文件最大保留时间,单位 天
|
2023-08-18 10:22:17 +08:00
|
|
|
maxAge: 30
|
2023-07-14 10:16:58 +08:00
|
|
|
# 是否压缩日志
|
|
|
|
compress: false
|
|
|
|
# 控制台是否输出
|
|
|
|
stdout: true
|
2024-02-04 14:28:04 +08:00
|
|
|
|
|
|
|
# 消息配置
|
2023-07-25 10:38:49 +08:00
|
|
|
messaging:
|
2023-11-16 16:54:23 +08:00
|
|
|
mqtt:
|
2024-03-19 08:28:50 +08:00
|
|
|
address: tcp://127.0.0.1:1883
|
|
|
|
# address: tcp://192.168.33.233:1883
|
2023-11-16 16:54:23 +08:00
|
|
|
username: rtsts_service
|
|
|
|
password: joylink@0503
|