2021与蓝度共同重构项目,服务端
liuhaonan
2022-11-10 6554fd4bf83e50d39fc75f1c4ac3fbf6675f1962
ximon-admin/src/main/resources/application-local.yml
@@ -4,17 +4,16 @@
    username: sandu
    # 数据库密码
    password: dygOHN4&mZC9X+99
    url: jdbc:mysql://112.74.63.130:3306/ximon_light?useUnicode=true&autoReconnect=true&useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://112.74.63.130:3306/ximon_light_n1?useUnicode=true&autoReconnect=true&useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      connection-init-sqls: set names utf8mb4
      driver-class-name: com.mysql.cj.jdbc.Driver
  redis:
    host: 112.74.63.130 # Redis服务器地址
    database: 0 # Redis数据库索引(默认为0)
    port: 6379 # Redis服务器连接端口
    password: uIEFHmj4bC0wJCyM # Redis服务器连接密码(默认为空)
    timeout: 10000ms # 连接超时时间(毫秒)
    host: 39.103.154.108
    password: zhxm2512209
    port: 6379
    database: 0
server:
  port: 20017
sandu:
@@ -30,16 +29,20 @@
    online-key: online-token
    # 是否启动redis缓存用户信息
    cache-online: false
    #************************本地上传文件配置************************
  upload:
    upload-root-path: /usr/local/project/ximon-light-20017/file/
    #文件服务器路径
    upload-root-path: E:\file\novafile
    storage: local
    #服务器文件前缀
    real-url: http://localhost/
  common:
    urlPrefix: http://112.74.63.130/file/
    urlPrefix: http://localhost/
  quartz:
    enable: true
listenter:
  isOpen: true
  isOpen: false
minio:
  endpoint: 47.106.172.9
@@ -63,6 +66,31 @@
nova-conf:   #诺瓦回调
  notify-url: http://112.74.63.130:20017/serv/vnnox/progress
  screen-shot-notify-url: http://112.74.63.130:20017/serv/vnnox/screenshot
  status-notify-url: http://112.74.63.130:20017/serv/vnnox/asyncStatus
  notify-url: http://39.103.154.108:20018/serv/vnnox/progress
  screen-shot-notify-url: http://39.103.154.108:20018/serv/vnnox/screenshot
  status-notify-url: http://39.103.154.108:20018/serv/vnnox/asyncStatus
  #iot产品秘钥
iot:
  access_key: LTAI4G27Af8MZEF55phdMQ4y
  access_secret: KUc2yOtr7TRB4FuF5Wr0dWeTblbEuh
#阿里云oss配置
oss-conf:
  end-point: oss-cn-shanghai.aliyuncs.com
  key-id: LTAI5tPdpt5wvJyLipRijFSP
  key-secret: 1ahYfCKd0yTddsUnuDLQzI23MLh4VQ
  bucket-name: ximonsmart
#新诺瓦
new-nova:
  #依赖地址
  string-path: C:\Users\Administrator\Desktop\novaWin\bin\viplexcore.dll
new-nova-file:
  upload:
    #文件服务器路径
    upload-root-path: E:\file\novafile
    storage: local
    #服务器文件前缀
    real-url: http://localhost/