Newer
Older
huludao / src / main / resources / application-pro.yml
server:
  port: 8316   #132服务器上的端口
spring:
  datasource:
    dynamic:
      primary: river
      datasource:
        river:
          driver-class-name: com.mysql.jdbc.Driver
          url: jdbc:mysql://192.168.90.6:3306/huludao_river?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
          username: root
          password: Huludao@2022
          type: com.alibaba.druid.pool.DruidDataSource
        main:
          driver-class-name: com.mysql.jdbc.Driver
          url: jdbc:mysql://192.168.90.6:3306/huludao_main?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&useSSL=false
          username: root
          password: Huludao@2022
          type: com.alibaba.druid.pool.DruidDataSource
  autoconfigure:
    exclude:  com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 去除druid配置
  data:
    mongodb:
      uri: mongodb://huludaoReadWrite:Huludao2022@192.168.90.7:27017/monitoring

  redis:
    #超时时间
    # redis 的地址链接的华为云服务器,正式环境需要改动
    timeout: 50000
    host: 192.168.90.6
    port: 6379
    password: Huludao@2022
    database: 0
    pool:
      max-active: 8
      max-idle: 100
      max-wait: -1
      min-idle: 4

huludao:
  url:
    main: http://localhost:8313

xnFile:   # 葫芦岛项目节点文件保存路径
  path:  /data/appfile/huludaofile/file/      # 公司部署后的路径
  pic:   /data/appfile/huludaofile/pic/


nginx:
  webPic: https://192.168.90.5/huludaofile/pic/  #公司部署后的路径
  webFile: https://192.168.90.5/huludaofile/file/
  webExeFile: https://192.168.90.5:10000
  appPic: http://221.202.120.250//huludaofile_app/pic/
  appFile: http://221.202.120.250/huludaofile_app/file/
  appExeFile: http://192.168.90.5:10000
  wxPic: http://192.168.90.3:10000/appfile_app/pic/