| | |
| | | server: |
| | | # 服务器的HTTP端口,默认为8080 |
| | | port: 8080 |
| | | ssl: |
| | | # 开启HTTPS,并配置自签名证书 |
| | | enabled: true |
| | | #秘钥库文件名称,即上面生成的自签名证书 |
| | | key-store: classpath:keystore |
| | | # 生成秘钥库文件的密码 |
| | | key-store-password: 123456 |
| | | # 秘钥库类型(JKS为jdk的keytool工具默认生成的秘钥库类型) |
| | | key-store-type: JKS |
| | | # 秘钥别名 |
| | | key-alias: tomcat |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: / |
| | |
| | | max: 800 |
| | | # Tomcat启动初始化的线程数,默认值10 |
| | | min-spare: 100 |
| | | # Spring配置 |
| | | spring: |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: 192.168.1.15 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | | database: 0 |
| | | # 密码 |
| | | password: |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | | lettuce: |
| | | pool: |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 8 |
| | | # 连接池的最大数据库连接数 |
| | | max-active: 8 |
| | | # #连接池最大阻塞等待时间(使用负值表示没有限制) |
| | | max-wait: -1ms |
| | | # 日志配置 |
| | | logging: |
| | | level: |
| | | com.ruoyi.common.filter.MyI18nInterceptor: info |
| | | authorize: info |
| | | minio: info |
| | | hikSdk: info |
| | | dhSdk: info |
| | | sdk: info |
| | | vtdu: info |
| | | stealAlarm: info |
| | | websocket: info |
| | | patrolInspectionTask: info |
| | | mqtt: info |
| | | guideQueue: info |
| | | patrolInspectionTask: debug |
| | | mqtt: debug |
| | | guideQueue: debug |
| | | rongCloud: info |
| | | cmd: info |
| | | cmd: debug |
| | | alarm: debug |
| | | uav: info |
| | | sy: info |
| | | |
| | | |
| | | # webrtc-streamer配置 |
| | | webrtc: |
| | | enabled: true |
| | | host: 127.0.0.1:8000 |
| | | mqttCar: info |
| | | ## knife4j配置 |
| | | knife4j: |
| | | # knife4j增强功能,开启后下面参数才生效 |
| | | enable: true |
| | | #是否为生产模式 项目部属时为true 防止接口暴露 |
| | | production: false |
| | | # 配置用户密码 |
| | | basic: |
| | | enable: false |
| | | username: admin |
| | | password: ardkj12345 |
| | | # minio配置 |
| | | minio: |
| | | enabled: false |
| | | endpoint: http://192.168.1.15:9001 |
| | | endpoint: http://192.168.2.15:9001 |
| | | accessKey: admin |
| | | secretKey: xzx12345 |
| | | path: G:/DATA |
| | | # forest配置 |
| | | forest: |
| | | backend: okhttp3 # 后端HTTP框架(默认为 okhttp3) |
| | | max-connections: 1000 # 连接池最大连接数(默认为 500) |
| | | max-route-connections: 500 # 每个路由的最大连接数(默认为 500) |
| | | max-request-queue-size: 100 # [自v1.5.22版本起可用] 最大请求等待队列大小 |
| | | max-async-thread-size: 300 # [自v1.5.21版本起可用] 最大异步线程数 |
| | | max-async-queue-size: 16 # [自v1.5.22版本起可用] 最大异步线程池队列大小 |
| | | timeout: 3000 # [已不推荐使用] 请求超时时间,单位为毫秒(默认为 3000) |
| | | connect-timeout: 3000 # 连接超时时间,单位为毫秒(默认为 timeout) |
| | | read-timeout: 3000 # 数据读取超时时间,单位为毫秒(默认为 timeout) |
| | | max-retry-count: 0 # 请求失败后重试次数(默认为 0 次不重试) |
| | | ssl-protocol: TLS # 单向验证的HTTPS的默认TLS协议(默认为 TLS) |
| | | log-enabled: true # 打开或关闭日志(默认为 true) |
| | | log-request: true # 打开/关闭Forest请求日志(默认为 true) |
| | | log-response-status: true # 打开/关闭Forest响应状态日志(默认为 true) |
| | | log-response-content: true # 打开/关闭Forest响应内容日志(默认为 false) |
| | | async-mode: platform # [自v1.5.27版本起可用] 异步模式(默认为 platform) |
| | | path: D:/DATA |
| | | #流媒体转码服务器 |
| | | mediamtx: |
| | | enabled: true |
| | | host: 127.0.0.1 |
| | | host: 192.168.1.227 |
| | | #mqtt |
| | | #全部主题:minioEvent,radar,stealelec,tube,camera,external,accessControl,apponekey,digitization3 |
| | | mqtt: |
| | | host: tcp://192.168.1.15:1883 |
| | | clientId: m227 |
| | | host: tcp://192.168.2.15:1883 |
| | | clientId: Server |
| | | username: admin |
| | | password: xzx12345 |
| | | topic: minioEvent |
| | | password: admin |
| | | topic: minioEvent,radar,stealelec,tube,camera,external,accessControl,apponekey,digitization3,radarForceGuide |
| | | timeout: 100 |
| | | keepalive: 60 |
| | | enabled: true |
| | | enabled: true |
| | | #三一车辆开关 |
| | | syCar: |
| | | enabled: true |