fengyanjie 3 年之前
父節點
當前提交
379a707a3e

+ 24 - 0
dmp-rwd-edit/src/main/resources/application-aliyun-dev.yml

@@ -0,0 +1,24 @@
+server:
+  port: 8838
+spring:
+  datasource:
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    url: jdbc:mysql://localhost:9005/dmp_rwdedit?useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8&useSSL=false
+    username: persagy
+    password: persagy@020
+    type: com.alibaba.druid.pool.DruidDataSource
+    jpa:
+      show-sql: true
+      hibernate:
+        ddl-auto: none
+  redis:
+    database: 10
+    host: 172.17.100.14
+    password: brzj123456
+    port: 9944
+    timeout: 6000
+    pool:
+      max-idle: 200
+      min-idle: 5
+      max-active: 1024
+      max-wait: 1000

+ 24 - 0
dmp-rwd-edit/src/main/resources/application-dev.yml

@@ -0,0 +1,24 @@
+server:
+  port: 8838
+spring:
+  datasource:
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    url: jdbc:mysql://192.168.64.15:9934/dmp_rwdedit?useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
+    username: root
+    password: brzj123456
+    type: com.alibaba.druid.pool.DruidDataSource
+    jpa:
+      show-sql: true
+      hibernate:
+        ddl-auto: none
+  redis:
+    database: 10
+    host: 192.168.64.15
+    password: brzj123456
+    port: 9944
+    timeout: 6000
+    pool:
+      max-idle: 200
+      min-idle: 5
+      max-active: 1024
+      max-wait: 1000

+ 4 - 4
dmp-rwd-edit/src/main/resources/application.yml

@@ -16,9 +16,9 @@ spring:
       - dev,log-dev
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://localhost:9005/dmp_rwdedit?useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8&useSSL=false
-    username: persagy
-    password: persagy@020
+    url: jdbc:mysql://192.168.64.15:9934/dmp_rwdedit?useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
+    username: root
+    password: brzj123456
     type: com.alibaba.druid.pool.DruidDataSource
     jpa:
       show-sql: true
@@ -26,7 +26,7 @@ spring:
         ddl-auto: none
   redis:
     database: 10
-    host: 172.17.100.14
+    host: 192.168.64.15
     password: brzj123456
     port: 9944
     timeout: 6000