Jelajahi Sumber

修改配置

yumeng 5 tahun lalu
induk
melakukan
1346fd9d8a

+ 12 - 12
jeecg-boot-module-system/src/main/resources/application-prod.yml

@@ -97,7 +97,7 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:mysql://39.97.120.42:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
+          url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
           username: hcst
           password: test@20190531
           driver-class-name: com.mysql.jdbc.Driver
@@ -110,7 +110,7 @@ spring:
   #redis 配置
   redis:
     database: 0
-    host: 127.0.0.1
+    host: 172.30.0.17
     lettuce:
       pool:
         max-active: 8   #最大连接数据库连接数,设 0 为没有限制
@@ -139,16 +139,16 @@ jeecg:
     bin: ffmpeg
   path:
     #文件上传根目录 设置
-    upload: /mnt/upload
+    upload: /data/upload
     #webapp文件路径
-    webapp: /mnt/webapp
-    video-upload: /mnt/upload/video/
-    image-upload: /mnt/upload/image/
+    webapp: /data/webapp
+    video-upload: /data/upload/video/
+    image-upload: /data/upload/image/
     chrome-driver: /usr/bin/chromedriver
-    csv-upload: /mnt/upload/csv/
-    bak-database-file: /mnt/data/bak/
-    report-history: /mnt/upload/report/history/
-    report-daily: /mnt/upload/report/daily/
+    csv-upload: /data/upload/csv/
+    bak-database-file: /data/data/bak/
+    report-history: /data/upload/report/history/
+    report-daily: /data/upload/report/daily/
 kuaishou:
   group-control:
     path: http://39.106.184.70
@@ -159,10 +159,10 @@ logging:
   config: classpath:logback-prod.xml
 chrome:
   script:
-    clean: sh /mnt/webapp/cleanProcess.sh
+    clean: sh /data/webapp/cleanProcess.sh
 
 oss:
   replace:
     replace-value: oss-cn-beijing
     replace-old-value: oss-cn-beijing
-    download: /mnt/file/video/
+    download: /data/file/video/