Browse Source

换服务器

chao 4 years ago
parent
commit
144f310562

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

@@ -1,5 +1,5 @@
 server:
-  port: 8100
+  port: 8081
 spring:
   application:
     # 指定服务名

+ 4 - 4
src/main/resources/config/prod/application-prod.yml

@@ -3,7 +3,7 @@ spring:
     cache: true  #是否使用缓存
   #数据源连接--start
   datasource:
-    url: jdbc:mysql://rm-wz928s8btl7kxil446o.mysql.rds.aliyuncs.com:3306/caimei?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
+    url: jdbc:mysql://rm-wz928s8btl7kxil44.mysql.rds.aliyuncs.com:3306/caimei?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
     username: coder
     password: diKtPYZ%wToI&9#L
     # Hikari will use the above plus the following to setup connection pooling
@@ -20,7 +20,7 @@ spring:
   #数据源连接--end
 
   redis:
-    host: 10.104.172.216
+    host: 172.31.165.23
     port: 6379
     #password: 6#xsI%b4o@5c3RoE
     #Redis数据库索引(默认为0)
@@ -41,7 +41,7 @@ spring:
 #日志配置
 logging:
   file:
-    path: /mnt/newdatadrive/data/runtime/tomcat-instance/www/logs
+    path: /mnt/newdatadrive/data/runtime/jar-instance/www/logs
   level:
     root: info
 
@@ -62,7 +62,7 @@ fdfs:
     width: 150
     height: 150
   tracker-list:            #TrackerList参数,支持多个
-  - 10.104.172.219:22122
+  - 172.31.165.24:22122
 
 http:
   multipart: