智慧保安后台管理-外网项目备份
Administrator
2022-04-12 6b428b9b3fb413928c888e5a5fa792caac9b0e3b
src/main/resources/application-prod.yml
@@ -2,7 +2,7 @@
spring:
  redis:
    ##redis 单机环境配置
    host: redis.zhba
    host: 127.0.0.1
    port: 6379
    password:
    database: 0
@@ -11,11 +11,22 @@
    #cluster:
    #  nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
    #  commandTimeout: 5000
  #  datasource:
  #    # MySql
  #    url: jdbc:mysql://localhost:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
  #    username: root
  #    password: ZHba@0112
  #  rabbitmq:
  #    host: 192.168.0.191
  #    port: 5672
  #    username: admin
  #    password: admin
  datasource:
    # MySql
    url: jdbc:mysql://mysql.zhba:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    url: jdbc:mysql://61.131.136.25:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    username: root
    password: 123456
    password: ZHba@0112
    # PostgreSQL
    #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
@@ -26,29 +37,30 @@
    #username: BLADEX_BOOT
    #password: BLADEX_BOOT
    # SqlServer
    #url: jdbc:sqlserver://61.131.136.25:1433;DatabaseName=zhbaw
    #url: jdbc:sqlserver://223.82.109.183:1433;DatabaseName=zhbaw
    #username: sa
    #password: zhbaw@2021
#
#图片批量上传zip
upload:
  localtion: ${UPLOAD_DIR:/home/zhongsong/anbao}
  localtion: ${UPLOAD_DIR:/home/zhbaw/anbao}
  maxFileSize: 10240KB
  maxRequestSize: 102400KB
#ftp 设置
ftp:
  sqlConnect: jdbc:mysql://mysql.zhba:3306/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
  sqlConnect: jdbc:mysql://61.131.136.25:2083/zhbaw?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
  ftpHost: 117.40.91.118
  ftpPort: 21
  ftpUserName: zhbain
  ftpPassword: zhbain@123
  ftpPath: yly/anbao/
  localPath: /home/zhongsong/anbao/
  localPath: /home/zhbaw/anbao/
  ip: http://47.49.36.190:9000
  jsonUrl: /home/zhongsong/anbao/
  jsonUrl: /home/zhbaw/anbao/
  username: root
  password: 123456
  password: ZHba@0112
  #  qfqkBaseApiUrl: http://61.131.136.25:2082/api
  qfqkBaseApiUrl: http://localhost:83
@@ -70,6 +82,3 @@
    remote-mode: true
    upload-domain: http://localhost:8999
    remote-path: /usr/share/nginx/html