2023-07-14 10:16:58 +08:00
|
|
|
# dev-开发环境 test-测试环境 prod-生产环境
|
|
|
|
env: dev
|
|
|
|
# 服务配置
|
|
|
|
server:
|
|
|
|
# 服务端口
|
2023-07-31 10:51:44 +08:00
|
|
|
port: 9091
|
2023-07-26 17:02:53 +08:00
|
|
|
# 动力学端口配置
|
|
|
|
dynamics:
|
2023-08-23 15:33:07 +08:00
|
|
|
ip: 192.168.3.37
|
2023-07-26 17:02:53 +08:00
|
|
|
udpLocalPort: 4000
|
2023-07-27 17:12:38 +08:00
|
|
|
udpRemotePort: 3000
|
2023-08-23 15:33:07 +08:00
|
|
|
udpRemoteTrainPort: 3001
|
2023-08-02 15:47:48 +08:00
|
|
|
httpPort: 7800
|
2023-10-20 15:37:29 +08:00
|
|
|
open: false
|
2023-08-18 16:20:40 +08:00
|
|
|
# VOBC
|
|
|
|
vobc:
|
2023-08-24 13:11:18 +08:00
|
|
|
ip: 10.60.1.59
|
2023-08-18 16:20:40 +08:00
|
|
|
localPort: 10000
|
|
|
|
remotePort: 4000
|
2023-10-08 09:41:42 +08:00
|
|
|
open: false
|
2023-10-24 10:57:04 +08:00
|
|
|
# interlock
|
|
|
|
interlock:
|
|
|
|
ip: 10.60.1.59
|
|
|
|
localPort: 10000
|
|
|
|
remotePort: 4000
|
|
|
|
open: false
|
|
|
|
|
2023-07-26 17:02:53 +08:00
|
|
|
|
2023-07-14 10:16:58 +08:00
|
|
|
# 数据源
|
|
|
|
datasource:
|
|
|
|
# 数据库访问url
|
|
|
|
dsn: root:joylink0503@tcp(192.168.3.233:3306)/bj-rtss?charset=utf8mb4&parseTime=true&loc=Local
|
|
|
|
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
|
2023-07-25 10:38:49 +08:00
|
|
|
messaging:
|
2023-11-16 16:54:23 +08:00
|
|
|
# centrifugo:
|
|
|
|
# tokenSecret: aaa
|
|
|
|
# apiKey: bbb
|
|
|
|
# apiEndpoint: /api
|
|
|
|
# address: 192.168.3.233:10000
|
|
|
|
mqtt:
|
|
|
|
address: tcp://192.168.3.233:1883
|
|
|
|
username: rtsts_service
|
|
|
|
password: joylink@0503
|