Browse Source

数据库配置更新

XiaoYu 1 year ago
parent
commit
266d742b71
1 changed files with 10 additions and 4 deletions
  1. 10 4
      application.yaml

+ 10 - 4
application.yaml

@@ -6,11 +6,17 @@ spring:
     driver-class-name: com.mysql.cj.jdbc.Driver
     username: root
     password: eai123456
-    url: jdbc:mysql://192.168.80.1:3309/eai?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
+    #数据库配置更新
+    url: jdbc:mysql://139.196.252.184:3306/eai?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
   data:
     mongodb:
       uri: mongodb://admin:eai123456@139.196.252.184:27017/eai?authSource=admin
       authentication-database: admin
+    #redis配置更新
+    redis:
+      host: 139.196.252.184
+      port: 6378
+      password: eai123456
   mail:
     host: smtp.163.com
     port: 25
@@ -39,9 +45,9 @@ aliyun:
     accessKeySecret: 2yvtVYE1qAZEgm0ChvdMqhp0LhB5Lj
     bucketName: eai-files
 
-
+#prod改成dev
 logging:
-  config: classpath:log4j2-prod.xml
+  config: classpath:log4j2-dev.xml
 
 openai:
   chatgpt:
@@ -66,6 +72,6 @@ config:
 proxy:
   enabled: false
   host: 20.111.54.16
-  port: 8123
+  port: 8090