Browse Source

调整部署环境的配置信息

tuonina 5 years ago
parent
commit
091b08c36a
2 changed files with 11 additions and 11 deletions
  1. 1 1
      eureka-web/build.gradle
  2. 10 10
      eureka-web/src/main/resources/application-prod.yml

+ 1 - 1
eureka-web/build.gradle

@@ -47,7 +47,7 @@ task dockerBuilder(type: Docker) {
     tagVersion = jar.version
     addFile("./${jar.baseName}-${jar.version}.jar","app.jar")
     entryPoint(["java","-XX:+UnlockExperimentalVMOptions","-XX:+UseCGroupMemoryLimitForHeap","-Djava.security.egd=file:/dev/./urandom","-Duser.timezone=GMT+08","-jar",'app.jar'])
-    exposePort(11001)
+    exposePort(11010)
     doFirst {
         copy {
             from jar

+ 10 - 10
eureka-web/src/main/resources/application-prod.yml

@@ -2,20 +2,20 @@ spring:
   datasource:
     password: envir
     username: envir
-    url: jdbc:mysql://120.77.170.119:3307/sys_config?useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=convertToNull
+    url: jdbc:mysql://47.107.123.88:3307/sys_config?useUnicode=true&characterEncoding=utf-8&useSSL=false&zeroDateTimeBehavior=convertToNull
 
   session:
     store-type: redis
     redis:
-      host: 120.77.44.234
-      port: 6379
+      host: 47.107.123.88
+      port: 11010
       database: 0
-      password: gxzcredis6379
+      password: envir20190511
 
   rabbitmq:
-    username: client
-    password: client
-    host: 120.77.44.234
+    username: envir
+    password: envir
+    host: 47.107.123.88
     port: 5672
 
 auth:
@@ -30,7 +30,7 @@ security:
   scan: false
   redis:
     database: 1 # redis数据库索引
-    hostName: 120.77.44.234
-    port: 6379
-    password: gxzcredis6379
+    hostName: 47.107.123.88
+    port: 11010
+    password: envir20190511
     timeout: 5000 # 连接超时时间(毫秒)