| # 生产环境配置 | 
| server: | 
|   # 服务器的HTTP端口,默认为8080 | 
|   port: 8080 | 
|   servlet: | 
|     # 应用的访问路径 | 
|     context-path: / | 
|   tomcat: | 
|     # tomcat的URI编码 | 
|     uri-encoding: UTF-8 | 
|     # 连接数满后的排队数,默认为100 | 
|     accept-count: 1000 | 
|     threads: | 
|       # tomcat最大线程数,默认为200 | 
|       max: 800 | 
|       # Tomcat启动初始化的线程数,默认值10 | 
|       min-spare: 100 | 
| # Spring配置 | 
| spring: | 
|   # redis 配置 | 
|   redis: | 
|     # 地址 | 
|     host: 192.168.5.229 | 
|     # 端口,默认为6379 | 
|     port: 6379 | 
|     # 数据库索引 | 
|     database: 0 | 
|     # 密码 | 
|     password: | 
|     # 连接超时时间 | 
|     timeout: 10s | 
|     lettuce: | 
|       pool: | 
|         # 连接池中的最小空闲连接 | 
|         min-idle: 0 | 
|         # 连接池中的最大空闲连接 | 
|         max-idle: 8 | 
|         # 连接池的最大数据库连接数 | 
|         max-active: 8 | 
|         # #连接池最大阻塞等待时间(使用负值表示没有限制) | 
|         max-wait: -1ms | 
| # 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) | 
| # 日志配置 | 
| logging: | 
|   level: | 
|     authorize: info | 
|     minio: info | 
|     hikSdk: info | 
|     stealAlarm: info | 
|     websocket: info | 
|     patrolInspectionTask: info | 
|     mqtt: info | 
|     guideQueue: info | 
|     rongCloud: info | 
|     cmd: info | 
|     uav: info | 
|     sy: info | 
| # webrtc-streamer配置 | 
| webrtc: | 
|   enabled: false | 
|   host: 192.168.5.229:8000 | 
| # minio配置 | 
| minio: | 
|   enabled: false | 
|   endpoint: http://192.168.5.229:9001 | 
|   accessKey: admin | 
|   secretKey: xzx12345 | 
|   path: F:/DATA | 
| #流媒体转码服务器 | 
| mediamtx: | 
|   enabled: true | 
|   host: 192.168.5.229 | 
|   software_decoding: true | 
| #mqtt | 
| mqtt: | 
|   host: tcp://192.168.5.229:1883 | 
|   clientId: server229 | 
|   username: admin | 
|   password: xzx12345 | 
|   topic: minioEvent,apponekey,camera,external,radarWellData | 
|   timeout: 100 | 
|   keepalive: 60 | 
|   enabled: true |