‘liusuyi’
2023-12-05 745d5b90be7d8cdb8873b18d18b286fdc4b6913b
src/main/resources/application-prod.yml
@@ -1,4 +1,7 @@
#生产环境
# 开发环境
server:
  port: 8088
# spring配置
spring:
  servlet:
    multipart:
@@ -6,15 +9,14 @@
      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://112.98.126.2:35432/ry-vue?stringtype=unspecified
      url: jdbc:postgresql://192.168.2.15:5432/ry-vue
      username: postgres
      password: Yykj.2017
      password: postgres
      #最大连接数
      maxActive: 30
      #最小连接数
@@ -34,18 +36,12 @@
      enabled: true
    tcp:
      enabled: true
  # minio配置
  minio:
    endpoint: http://127.0.0.1:9001
    accessKey: admin
    secretKey: xzx12345
  # mqtt配置
  mqtt:
    host: tcp://192.168.1.15:1883
    clientId: cc3
  host: tcp://192.168.2.15:1883
  clientId: client-2272
    username: admin
    password: xzx12345
    topic: tube
  password: admin
    timeout: 100
    keepalive: 60
    enabled: true
@@ -54,19 +50,26 @@
    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
server:
  port: 8088
# 日志等级配置
logging:
  level:
    hikSdk: debug
    hikSdk: info
    mqtt: debug
    netty: info
    external: info
    camera: info
    tube: info
    digitization3: info
    stealAlarm: info