浏览代码

生产配置文件

郎学彬 3 年之前
父节点
当前提交
48fb6f6238
共有 2 个文件被更改,包括 9 次插入9 次删除
  1. 8 8
      flowable/src/main/resources/application-test.yml
  2. 1 1
      flowable/src/main/resources/application.yml

+ 8 - 8
flowable/src/main/resources/application-test.yml

@@ -2,17 +2,17 @@ spring:
   datasource:
     hikari:
       primary :
-        jdbc-url: jdbc:mysql://123.138.111.28:3506/supplychainFlowable?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-        username: flowableUser
-        password: Aa1111111
+        jdbc-url: jdbc:mysql://rm-2ze6bkss2l8h2frq9lo.mysql.rds.aliyuncs.com/zcylflowable?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
+        username: root
+        password: Zcylian2021
       second:
-        jdbc-url: jdbc:mysql://123.138.111.28:3506/supplychain?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-        username: supplychain
-        password: Aa1111111
+        jdbc-url: jdbc:mysql://124.71.226.2:3506/supplychain_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
+        username: supplychain_test
+        password: Test@2021
   redis:
     port : 6379
-    host: 115.159.103.82
-    password  : 1234
+    host: 124.71.226.2
+    password  : 123456
 
 pagehelper:
   helperDialect: mysql

+ 1 - 1
flowable/src/main/resources/application.yml

@@ -13,7 +13,7 @@ mybatis:
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 spring:
   profiles:
-    active: test
+    active: prod
 
 flowable:
   check-process-definitions: false