15bdc45892
All checks were successful
local-test分支打包构建docker并发布运行 / Docker-Build (push) Successful in 2m58s
39 lines
897 B
YAML
39 lines
897 B
YAML
# 服务配置
|
|
server:
|
|
# 服务端口
|
|
port: 9091
|
|
|
|
# 数据源
|
|
datasource:
|
|
# 数据库访问url
|
|
# 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
|
|
|
|
# 日志配置
|
|
logging:
|
|
# 日志级别
|
|
level: debug
|
|
# 格式化
|
|
# format: json
|
|
# 日志文件路径
|
|
path: /logs/bjrtsts
|
|
# 日志文件名
|
|
fileName: bjrtsts.log
|
|
# 单个日志文件大小,单位mb,超过会自动滚动
|
|
fileMaxSize: 5
|
|
# 日志文件最大备份数量
|
|
fileMaxBackups: 100
|
|
# 日志文件最大保留时间,单位 天
|
|
maxAge: 30
|
|
# 是否压缩日志
|
|
compress: false
|
|
# 控制台是否输出
|
|
stdout: true
|
|
|
|
# 消息配置
|
|
messaging:
|
|
mqtt:
|
|
# address: tcp://127.0.0.1:1883
|
|
address: tcp://192.168.33.233:1883
|
|
username: rtsts_service
|
|
password: joylink@0503 |