瀏覽代碼

修改服务名

txf 3 年之前
父節點
當前提交
3f81931a34

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

@@ -5,4 +5,4 @@ spring:
     username: dil
     username: dil
     driver-class-name: oracle.jdbc.OracleDriver
     driver-class-name: oracle.jdbc.OracleDriver
   application:
   application:
-    name: dil-tms-truck-dev
+    name: dil-tms-train-dev

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

@@ -5,4 +5,4 @@ spring:
     username: dil
     username: dil
     driver-class-name: oracle.jdbc.OracleDriver
     driver-class-name: oracle.jdbc.OracleDriver
   application:
   application:
-    name: dil-tms-truck-dev
+    name: dil-tms-train-dev

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

@@ -16,7 +16,7 @@ spring:
 eureka:
 eureka:
   client:
   client:
     service-url:
     service-url:
-      defaultZone: http://root:root@${EUREKA_HOST:localhost}:${EUREKA_PORT:8061}/eureka/
+      defaultZone: http://root:root@${EUREKA_HOST:172.16.33.161}:${EUREKA_PORT:8061}/eureka/
   instance:
   instance:
     prefer-ip-address: true
     prefer-ip-address: true
     status-page-url: http://${spring.cloud.client.ip-address}:${server.port}/swagger-ui.html#/
     status-page-url: http://${spring.cloud.client.ip-address}:${server.port}/swagger-ui.html#/