57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
|
# dev-开发环境 test-测试环境 prod-生产环境 local-线下项目
|
||
|
env: local
|
||
|
# 服务配置
|
||
|
server:
|
||
|
# 服务端口
|
||
|
port: 9091
|
||
|
# 动力学端口配置
|
||
|
dynamics:
|
||
|
ip: 192.168.3.37
|
||
|
udpLocalPort: 4000
|
||
|
udpRemotePort: 3000
|
||
|
udpRemoteTrainPort: 3001
|
||
|
httpPort: 7800
|
||
|
open: false
|
||
|
# VOBC
|
||
|
vobc:
|
||
|
ip: 10.60.1.59
|
||
|
localPort: 10000
|
||
|
remotePort: 4000
|
||
|
open: false
|
||
|
# interlock
|
||
|
interlock:
|
||
|
ip: 10.60.1.59
|
||
|
localPort: 10000
|
||
|
remotePort: 4000
|
||
|
open: false
|
||
|
|
||
|
|
||
|
# 数据源
|
||
|
datasource:
|
||
|
# 数据库访问url
|
||
|
dsn: root:localdb@tcp(192.168.53.11:3306)/bj-rtss?charset=utf8mb4&parseTime=true&loc=Local
|
||
|
logging:
|
||
|
# 日志级别
|
||
|
level: info
|
||
|
# 格式化
|
||
|
# format: json
|
||
|
# 日志文件路径
|
||
|
path: /logs/bjrtsts
|
||
|
# 日志文件名
|
||
|
fileName: bjrtsts.log
|
||
|
# 单个日志文件大小,单位mb,超过会自动滚动
|
||
|
fileMaxSize: 5
|
||
|
# 日志文件最大备份数量
|
||
|
fileMaxBackups: 100
|
||
|
# 日志文件最大保留时间,单位 天
|
||
|
maxAge: 30
|
||
|
# 是否压缩日志
|
||
|
compress: false
|
||
|
# 控制台是否输出
|
||
|
stdout: false
|
||
|
messaging:
|
||
|
mqtt:
|
||
|
address: tcp://192.168.0.203:1883
|
||
|
username: rtsts_service
|
||
|
password: joylink@0503
|