zhangys36 2 years ago
parent
commit
bd8fd50748

+ 4 - 4
railway-admin/src/main/resources/application-dev.yml

@@ -56,13 +56,13 @@ spring:
   # redis 配置
   redis:
     # 地址
-    host: 39.105.100.218
+    host: 172.16.0.28
     # 端口,默认为6379
     port: 6380
     # 数据库索引
     database: 0
     # 密码
-    password: '$jgkj001'
+    password: 'railway1208'
     # 连接超时时间
     timeout: 100s
     lettuce:
@@ -82,9 +82,9 @@ spring:
     druid:
       # 主库数据源
       master:
-        url: jdbc:mysql://39.105.100.218:3306/railway_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+        url: jdbc:mysql://172.16.0.28:3306/railway_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         username: railway
-        password: '$jgkj001'
+        password: 'railway1208'
       # 从库数据源
       slave:
         # 从数据源开关/默认关闭

+ 2 - 2
railway-admin/src/main/resources/application-docker.yml

@@ -62,7 +62,7 @@ spring:
     # 数据库索引
     database: 0
     # 密码
-    password: '$jgkj001'
+    password: 'railway1208'
     # 连接超时时间
     timeout: 100s
     lettuce:
@@ -84,7 +84,7 @@ spring:
       master:
         url: jdbc:mysql://mysql:3306/railway_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
         username: railway
-        password: '$jgkj001'
+        password: 'railway1208'
       # 从库数据源
       slave:
         # 从数据源开关/默认关闭

+ 1 - 1
railway-admin/src/main/resources/application-prod.yml

@@ -62,7 +62,7 @@ spring:
     # 数据库索引
     database: 0
     # 密码
-    password: '$jgkj001'
+    password: 'railway1208'
     # 连接超时时间
     timeout: 100s
     lettuce: