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 2023/02/07 01:02:06 UTC
[servicecomb-service-center] branch master updated: [fix] start UX failed (#1383)
This is an automated email from the ASF dual-hosted git repository.
littlecui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
The following commit(s) were added to refs/heads/master by this push:
new ab3c89c8 [fix] start UX failed (#1383)
ab3c89c8 is described below
commit ab3c89c8cf78f2278af8734a69825edace940519
Author: little-cui <su...@qq.com>
AuthorDate: Tue Feb 7 09:02:00 2023 +0800
[fix] start UX failed (#1383)
---
README.md | 23 -----------------------
ux/docker-compose.yml | 40 ++++------------------------------------
2 files changed, 4 insertions(+), 59 deletions(-)
diff --git a/README.md b/README.md
index 7101b9f3..6d6feb89 100644
--- a/README.md
+++ b/README.md
@@ -54,29 +54,6 @@ sudo bash scripts/docker/build-image/build.sh
```
it builds an image servicecomb/service-center
-### Running Frontend using the Release
-
-You can download our latest release from ServiceComb Website and then untar it and run start-frontend.sh/start-frontend.bat.
-This will bring up the Service-Center UI on [http://127.0.0.1:30103](http://127.0.0.1:30103).
-
-Windows(apache-servicecomb-service-center-XXX-windows-amd64.zip):
-```
-start-frontend.bat
-```
-
-Linux(apache-servicecomb-service-center-XXXX-linux-amd64.tar.gz):
-```sh
-./start-frontend.sh
-```
-
-Note: By default frontend runs on 127.0.0.1, if you want to change this then you can change it in `conf/app.conf`.
-```
-frontend_host_ip=127.0.0.1
-frontend_host_port=30103
-```
-
-You can follow the guide over [here](frontend/Readme.md#running-ui-from-source-code) to run the Frontend from source.
-
## Get The Latest Release
[Download Service Center](http://servicecomb.apache.org/release/service-center-downloads/)
diff --git a/ux/docker-compose.yml b/ux/docker-compose.yml
index 9ba0f080..59c3cf1f 100644
--- a/ux/docker-compose.yml
+++ b/ux/docker-compose.yml
@@ -16,52 +16,20 @@
## ---------------------------------------------------------------------------
version: '3.3'
services:
- mongo:
- image: mongo:4.0
- container_name: mongo
- command: mongod --replSet rs/mongo:27017
- ports:
- - 27017:27017
- #volumes:
- # - ./data/db:/data/db
- healthcheck:
- test: [ "CMD-SHELL", "echo 'db.runCommand({serverStatus: 1}).ok | mongo mongo:27017 --quiet'" ]
- interval: 5s
- timeout: 5s
- retries: 3
- mongo_cfg:
- image: mongo:4.0
- container_name: mongo_cfg
- command: |
- bash -c "echo 'rs.initiate({_id: \"rs\", members: [{_id: 0, host: \"mongo:27017\"}]})' | mongo mongo:27017 --quiet"
- depends_on:
- mongo:
- condition: service_healthy
-
service-center:
image: servicecomb/service-center:latest
container_name: sc
ports:
- 30100:30100
- environment:
- SERVER_HOST: 0.0.0.0
- LOG_LEVEL: DEBUG
- LOG_FILE: ''
- REGISTRY_KIND: mongo
- REGISTRY_MONGO_CLUSTER_URI: mongodb://mongo:27017
- depends_on:
- mongo_cfg:
- condition: service_completed_successfully
+
kie:
- image: servicecomb/kie:0.2.1
+ image: servicecomb/kie:latest
container_name: kie
environment:
- MONGODB_ADDR: mongo:27017
+ DB_KIND: embedded_etcd
ports:
- 30110:30110
- depends_on:
- mongo_cfg:
- condition: service_completed_successfully
+
ux:
image: servicecomb/ux:latest
container_name: ux