diff --git a/.gitignore b/.gitignore index 247d1f3..8e9ef64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ -## 忽略models文件夹 -*/node_modules/ \ No newline at end of file +## 忽略models文件夹 +*/node_modules/ +.idea/workspace.xml +.idea/modules.xml +.idea/misc.xml +.idea/docker-node.iml +node-client/package-lock.json diff --git a/README.md b/README.md index 8fa3788..d8f023c 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ linux下部署注意: mesher的配置有两种方式 ## windows下运行: 第一 配置mesher - 可参考https://support.huaweicloud.com/bestpractice-servicestage/servicestage_bestpractice_0048.html + mesher下载地址:https://cse-bucket.obs.myhwclouds.com/Mesher/mesher-1.4.12-windows-amd64.zip + meshe配置可参考https://support.huaweicloud.com/bestpractice-servicestage/servicestage_bestpractice_0048.html conf/chassis.yaml的listenAddress改为注册中心的地址。 microservice.yaml中的APPLICATION_ID最好和provider的APPLICATION_ID相同。 - 运行mesher mesher-1.3.3-windows-amd64\start.bat diff --git a/docker-compose.yml b/docker-compose.yml index 472a999..9342798 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: build: ./java-provider restart: always ports: - - 8080:8080 + - 8383:8090 node-client: build: ./node-client restart: always diff --git a/java-provider/src/main/resources/microservice.yaml b/java-provider/src/main/resources/microservice.yaml index e4bee07..e63578f 100644 --- a/java-provider/src/main/resources/microservice.yaml +++ b/java-provider/src/main/resources/microservice.yaml @@ -9,10 +9,10 @@ servicecomb: chain: Provider: {} highway: - address: 0.0.0.0:7777 + address: 0.0.0.0:8191 rest: - address: 0.0.0.0:8080 + address: 0.0.0.0:8090 service: registry: - address: http://192.168.1.101:30100 + address: http://10.0.1.252:30100 autodiscovery: false \ No newline at end of file