| | |
| | | spring: |
| | | servlet: |
| | | multipart: |
| | | enabled: true |
| | | max-file-size: 30MB |
| | | max-request-size: 30MB |
| | | datasource: |
| | | # 使用druid数据库连接池 |
| | | druid: |
| | | #开启druid监控web |
| | | stat-view-servlet: |
| | | enabled: true |
| | | driver-class-name: org.postgresql.Driver |
| | | # url: jdbc:postgresql://111.40.46.199:15432/ry-vue?stringtype=unspecified |
| | | # username: postgres |
| | | # password: Yykj.2021 |
| | | url: jdbc:postgresql://192.168.1.15:5432/ry-vue?stringtype=unspecified |
| | | username: postgres |
| | | password: postgres |
| | | #最大连接数 |
| | | maxActive: 30 |
| | | #最小连接数 |
| | | minIdle: 5 |
| | | #获取连接的最大等待时间 |
| | | maxWait: 10000 |
| | | #解决mysql8小时的问题 |
| | | validation-query: SELECT 'X' |
| | | #空闲连接的检查时间间隔 |
| | | timeBetweenEvictionRunsMillis: 60000 |
| | | #空闲连接最小空闲时间 |
| | | minEvictableIdleTimeMillis: 300000 |
| | | netty: |
| | | udp: |
| | | port: 40000 |
| | | enabled: true |
| | | tcp: |
| | | enabled: true |
| | | mqtt: |
| | | host: tcp://192.168.1.15:1883 |
| | | clientId: cc3 |
| | | username: admin |
| | | password: xzx12345 |
| | | topic: tube |
| | | timeout: 100 |
| | | keepalive: 60 |
| | | enabled: true |
| | | stealelec: |
| | | url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil |
| | | mybatis: |
| | | typeAliasesPackage: com.ard.alarm.**.domain |
| | | mapperLocations: classpath:/mapper/*.xml |
| | | # minio配置 |
| | | minio: |
| | | endpoint: http://192.168.1.15:9001 |
| | | accessKey: admin |
| | | secretKey: xzx12345 |
| | | server: |
| | | port: 8088 |
| | | logging: |
| | | level: |
| | | com.ard.utils.hiksdk.service.impl.FMSGCallBack: debug |
| | | spring:
|
| | | profiles:
|
| | | active: dev
|