Эх сурвалжийг харах

更改在docker环境下数据库的连接

tuonina 5 жил өмнө
parent
commit
3502ebba74

+ 1 - 1
eureka-web/src/main/resources/application-sit.yml

@@ -2,7 +2,7 @@ spring:
   datasource:
     username: root
     password: tuonq520
-    url: jdbc:mysql://192.168.42.1:5201/tuonq_config?useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=convertToNull
+    url: jdbc:mysql://tuonq_mysql:3306/tuonq_config?useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=convertToNull
 
   session:
     store-type: redis