| | |
| | | # 开发环境 |
| | | server: |
| | | port: 8088 |
| | | # spring配置 |
| | | spring: |
| | | servlet: |
| | | multipart: |
| | | enabled: true |
| | | max-file-size: 30MB |
| | | max-request-size: 30MB |
| | | datasource: |
| | | druid: |
| | | #开启druid监控web |
| | | stat-view-servlet: |
| | | enabled: true |
| | | driver-class-name: org.postgresql.Driver |
| | | url: jdbc:postgresql://192.168.2.15:5432/ry-vue |
| | | username: postgres |
| | | password: postgres |
| | | #最大连接数 |
| | | maxActive: 30 |
| | | #最小连接数 |
| | | minIdle: 5 |
| | | #获取连接的最大等待时间 |
| | | maxWait: 10000 |
| | | #解决mysql8小时的问题 |
| | | validation-query: SELECT 'X' |
| | | #空闲连接的检查时间间隔 |
| | | timeBetweenEvictionRunsMillis: 60000 |
| | | #空闲连接最小空闲时间 |
| | | minEvictableIdleTimeMillis: 300000 |
| | | # netty配置 |
| | | netty: |
| | | udp: |
| | | port: 40000 |
| | | enabled: true |
| | | tcp: |
| | | enabled: false |
| | | # mqtt配置 |
| | | mqtt: |
| | | host: tcp://192.168.2.15:1883 |
| | | clientId: cc3 |
| | | username: admin |
| | | password: admin |
| | | topic: tube |
| | | timeout: 100 |
| | | keepalive: 60 |
| | | enabled: true |
| | | # 盗电接口地址 |
| | | stealelec: |
| | | enabled: false |
| | | url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil |
| | | # 三厂数字化地址 |
| | | digitization3: |
| | | enabled: true |
| | | # minio配置 |
| | | minio: |
| | | endpoint: http://192.168.2.15:9001 |
| | | accessKey: admin |
| | | secretKey: xzx12345 |
| | | # mybatis配置 |
| | | mybatis: |
| | | typeAliasesPackage: com.ard.alarm.**.domain |
| | | mapperLocations: classpath:/mapper/*.xml |
| | | # 日志等级配置 |
| | | logging: |
| | | level: |
| | | hikSdk: info |
| | | mqtt: info |
| | | netty: info |
| | | external: info |
| | | camera: info |
| | | tube: info |
| | | digitization3: debug |
| | | stealAlarm: info |
| | | # 开发环境
|
| | | server:
|
| | | port: 8088
|
| | | # spring配置
|
| | | spring:
|
| | | servlet:
|
| | | multipart:
|
| | | enabled: true
|
| | | max-file-size: 30MB
|
| | | max-request-size: 30MB
|
| | | datasource:
|
| | | druid:
|
| | | #开启druid监控web
|
| | | stat-view-servlet:
|
| | | enabled: true
|
| | | driver-class-name: org.postgresql.Driver
|
| | | url: jdbc:postgresql://192.168.2.15:5432/ry-vue
|
| | | username: postgres
|
| | | password: postgres
|
| | | #最大连接数
|
| | | maxActive: 30
|
| | | #最小连接数
|
| | | minIdle: 5
|
| | | #获取连接的最大等待时间
|
| | | maxWait: 10000
|
| | | #解决mysql8小时的问题
|
| | | validation-query: SELECT 'X'
|
| | | #空闲连接的检查时间间隔
|
| | | timeBetweenEvictionRunsMillis: 60000
|
| | | #空闲连接最小空闲时间
|
| | | minEvictableIdleTimeMillis: 300000
|
| | | # netty配置
|
| | | netty:
|
| | | udp:
|
| | | port: 40000
|
| | | enabled: false
|
| | | tcp:
|
| | | enabled: true
|
| | | reConnectInterval: 30000
|
| | | # mqtt配置
|
| | | mqtt:
|
| | | host: tcp://192.168.2.15:1883
|
| | | clientId: client-2272
|
| | | username: admin
|
| | | password: admin
|
| | | timeout: 100
|
| | | keepalive: 60
|
| | | enabled: true
|
| | | # 盗电接口地址
|
| | | stealelec:
|
| | | enabled: false
|
| | | url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil
|
| | | # 三厂数字化地址
|
| | | # 三场数字化
|
| | | digitization3:
|
| | | enabled: false
|
| | | # minio配置
|
| | | minio:
|
| | | endpoint: http://192.168.2.15:9001
|
| | | accessKey: admin
|
| | | secretKey: xzx12345
|
| | | # mybatis-plus配置
|
| | | mybatis-plus:
|
| | | type-aliases-package: com.ard.alarm.**.domain
|
| | | mapper-locations: classpath:/mapper/*.xml
|
| | | # 日志等级配置
|
| | | logging:
|
| | | level:
|
| | | hikSdk: info
|
| | | mqtt: info
|
| | | netty: debug
|
| | | external: info
|
| | | camera: info
|
| | | tube: info
|
| | | digitization3: info
|
| | | stealAlarm: info
|