You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2020/04/07 00:22:00 UTC

[servicecomb-java-chassis] 03/03: [SCB-1850]fix docker port expose problems

This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git

commit a9547d5b2aa32eb1a992bed857160adb113b9fa5
Author: liubao <bi...@qq.com>
AuthorDate: Fri Apr 3 19:51:01 2020 +0800

    [SCB-1850]fix docker port expose problems
---
 .../demo-edge/authentication/src/main/resources/microservice.yaml | 2 +-
 .../demo-edge/business-1-1-0/src/main/resources/microservice.yaml | 2 +-
 .../demo-edge/business-1.0.0/src/main/resources/microservice.yaml | 2 +-
 .../demo-edge/business-2.0.0/src/main/resources/microservice.yaml | 2 +-
 demo/demo-edge/edge-service/src/main/resources/microservice.yaml  | 2 +-
 demo/docker-run-config-edge/pom.xml                               | 8 ++++----
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/demo/demo-edge/authentication/src/main/resources/microservice.yaml b/demo/demo-edge/authentication/src/main/resources/microservice.yaml
index 3c68147..d6a13c8 100644
--- a/demo/demo-edge/authentication/src/main/resources/microservice.yaml
+++ b/demo/demo-edge/authentication/src/main/resources/microservice.yaml
@@ -24,7 +24,7 @@ servicecomb:
     registry:
       address: http://127.0.0.1:30100
   rest:
-    address: 127.0.0.1:7070
+    address: 0.0.0.0:7070
     server:
       # for test case run in one core machine
       verticle-count: 1
diff --git a/demo/demo-edge/business-1-1-0/src/main/resources/microservice.yaml b/demo/demo-edge/business-1-1-0/src/main/resources/microservice.yaml
index 4b54ba8..3ea33d7 100644
--- a/demo/demo-edge/business-1-1-0/src/main/resources/microservice.yaml
+++ b/demo/demo-edge/business-1-1-0/src/main/resources/microservice.yaml
@@ -24,6 +24,6 @@ servicecomb:
     registry:
       address: http://127.0.0.1:30100
   rest:
-    address: 127.0.0.1:8090
+    address: 0.0.0.0:8090
     server:
       verticle-count: 1
diff --git a/demo/demo-edge/business-1.0.0/src/main/resources/microservice.yaml b/demo/demo-edge/business-1.0.0/src/main/resources/microservice.yaml
index eacf28c..d85b4b5 100644
--- a/demo/demo-edge/business-1.0.0/src/main/resources/microservice.yaml
+++ b/demo/demo-edge/business-1.0.0/src/main/resources/microservice.yaml
@@ -24,6 +24,6 @@ servicecomb:
     registry:
       address: http://127.0.0.1:30100
   rest:
-    address: 127.0.0.1:8080
+    address: 0.0.0.0:8080
     server:
       verticle-count: 1
diff --git a/demo/demo-edge/business-2.0.0/src/main/resources/microservice.yaml b/demo/demo-edge/business-2.0.0/src/main/resources/microservice.yaml
index bfb029f..2866854 100644
--- a/demo/demo-edge/business-2.0.0/src/main/resources/microservice.yaml
+++ b/demo/demo-edge/business-2.0.0/src/main/resources/microservice.yaml
@@ -24,6 +24,6 @@ servicecomb:
     registry:
       address: http://127.0.0.1:30100
   rest:
-    address: 127.0.0.1:8091
+    address: 0.0.0.0:8091
     server:
       verticle-count: 1
diff --git a/demo/demo-edge/edge-service/src/main/resources/microservice.yaml b/demo/demo-edge/edge-service/src/main/resources/microservice.yaml
index cd575cb..c8823da 100644
--- a/demo/demo-edge/edge-service/src/main/resources/microservice.yaml
+++ b/demo/demo-edge/edge-service/src/main/resources/microservice.yaml
@@ -24,7 +24,7 @@ servicecomb:
     registry:
       address: http://127.0.0.1:30100
   rest:
-    address: 127.0.0.1:18080
+    address: 0.0.0.0:18080
     server:
       # for test case run in one core machine
       verticle-count: 1
diff --git a/demo/docker-run-config-edge/pom.xml b/demo/docker-run-config-edge/pom.xml
index d6ae1a5..680ce7d 100644
--- a/demo/docker-run-config-edge/pom.xml
+++ b/demo/docker-run-config-edge/pom.xml
@@ -62,7 +62,7 @@
                 <run>
                   <env>
                     <JAVA_OPTS>
-                      -Dservicecomb.service.registry.address=http://sc.servicecomb.io:30100 -Dservicecomb.service.publishAddress=${docker.hostname}
+                      -Dservicecomb.service.registry.address=http://sc.servicecomb.io:30100
                     </JAVA_OPTS>
                     <JAR_PATH>/maven/maven/authentication-${project.version}.jar</JAR_PATH>
                   </env>
@@ -97,7 +97,7 @@
                 <run>
                   <env>
                     <JAVA_OPTS>
-                      -Dservicecomb.service.registry.address=http://sc.servicecomb.io:30100 -Dservicecomb.service.publishAddress=${docker.hostname}
+                      -Dservicecomb.service.registry.address=http://sc.servicecomb.io:30100
                     </JAVA_OPTS>
                     <JAR_PATH>/maven/maven/business-1-0-0-${project.version}.jar</JAR_PATH>
                   </env>
@@ -132,7 +132,7 @@
                 <run>
                   <env>
                     <JAVA_OPTS>
-                      -Dservicecomb.service.registry.address=http://sc.servicecomb.io:30100 -Dservicecomb.service.publishAddress=${docker.hostname}
+                      -Dservicecomb.service.registry.address=http://sc.servicecomb.io:30100
                     </JAVA_OPTS>
                     <JAR_PATH>/maven/maven/business-1-1-0-${project.version}.jar</JAR_PATH>
                   </env>
@@ -167,7 +167,7 @@
                 <run>
                   <env>
                     <JAVA_OPTS>
-                      -Dservicecomb.service.registry.address=http://sc.servicecomb.io:30100 -Dservicecomb.service.publishAddress=${docker.hostname}
+                      -Dservicecomb.service.registry.address=http://sc.servicecomb.io:30100
                     </JAVA_OPTS>
                     <JAR_PATH>/maven/maven/business-2-0-0-${project.version}.jar</JAR_PATH>
                   </env>