2023-08-18 16:50:09 +08:00
|
|
|
# dev-开发环境 test-测试环境 prod-生产环境
|
|
|
|
env: prod
|
|
|
|
# 服务配置
|
|
|
|
server:
|
|
|
|
# 服务端口
|
|
|
|
port: 9091
|
|
|
|
# 动力学端口配置
|
|
|
|
dynamics:
|
|
|
|
ip: 10.60.1.121
|
|
|
|
udpLocalPort: 4000
|
|
|
|
udpRemotePort: 3000
|
2023-08-23 15:33:07 +08:00
|
|
|
udpRemoteTrainPort: 3001
|
2023-08-18 16:50:09 +08:00
|
|
|
httpPort: 7800
|
2023-08-23 15:33:07 +08:00
|
|
|
# VOBC
|
|
|
|
vobc:
|
2023-08-24 13:11:18 +08:00
|
|
|
ip: 10.60.1.59
|
2023-08-23 15:33:07 +08:00
|
|
|
localPort: 10000
|
|
|
|
remotePort: 4000
|
2023-08-18 16:50:09 +08:00
|
|
|
|
|
|
|
# 数据源
|
|
|
|
datasource:
|
|
|
|
# 数据库访问url
|
2023-08-18 18:03:07 +08:00
|
|
|
dsn: root:Joylink@0503@tcp(10.60.1.101:3306)/bj-rtsts?charset=utf8mb4&parseTime=true&loc=Local
|
2023-08-18 16:50:09 +08:00
|
|
|
logging:
|
|
|
|
# 日志级别
|
|
|
|
level: info
|
|
|
|
# 格式化
|
|
|
|
# format: json
|
|
|
|
# 日志文件路径
|
|
|
|
path: /logs/bjrtsts
|
|
|
|
# 日志文件名
|
|
|
|
fileName: bjrtsts.log
|
|
|
|
# 单个日志文件大小,单位mb,超过会自动滚动
|
|
|
|
fileMaxSize: 5
|
|
|
|
# 日志文件最大备份数量
|
|
|
|
fileMaxBackups: 100
|
|
|
|
# 日志文件最大保留时间,单位 天
|
|
|
|
maxAge: 30
|
|
|
|
# 是否压缩日志
|
|
|
|
compress: false
|
|
|
|
# 控制台是否输出
|
|
|
|
stdout: false
|
|
|
|
messaging:
|
|
|
|
centrifugo:
|
|
|
|
tokenSecret: aaa
|
|
|
|
apiKey: bbb
|
|
|
|
apiEndpoint: /api
|
|
|
|
address: 10.60.1.111:8001
|