[
https://issues.apache.org/jira/browse/SCB-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689186#comment-16689186
]
ASF GitHub Bot commented on SCB-993:
------------------------------------
little-cui closed pull request #492: SCB-993 Update the document of
docker-compose
URL: https://github.com/apache/servicecomb-service-center/pull/492
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/examples/infrastructures/docker/docker-compose.yml
b/examples/infrastructures/docker/docker-compose.yml
index 964837ef..bab0ac45 100644
--- a/examples/infrastructures/docker/docker-compose.yml
+++ b/examples/infrastructures/docker/docker-compose.yml
@@ -20,25 +20,23 @@ services:
volumes:
- grafana_data:/var/lib/grafana
- etcd:
- image: 'quay.io/coreos/etcd:latest'
- # restart: always
- environment:
- ETCD_ADVERTISE_CLIENT_URLS: http://etcd:2379
- ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
- ETCD_INITIAL_ADVERTISE_PEER_URLS: http://etcd:2380
- ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
- ETCD_INITIAL_CLUSTER: default=http://etcd:2380
+ #etcd:
+ # image: 'quay.io/coreos/etcd:latest'
+ # # restart: always
+ # environment:
+ # ETCD_ADVERTISE_CLIENT_URLS: http://etcd:2379
+ # ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
+ # ETCD_INITIAL_ADVERTISE_PEER_URLS: http://etcd:2380
+ # ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
+ # ETCD_INITIAL_CLUSTER: default=http://etcd:2380
service-center:
- depends_on:
- - etcd
image: 'servicecomb/service-center:latest'
# restart: always
ports:
- "30100:30100"
- environment:
- BACKEND_ADDRESS: etcd:2379
+ # environment:
+ # BACKEND_ADDRESS: etcd:2379
scfrontend:
depends_on:
diff --git a/scripts/docker/README.md b/scripts/docker/README.md
index d98d529d..f8f7023b 100644
--- a/scripts/docker/README.md
+++ b/scripts/docker/README.md
@@ -4,6 +4,10 @@ For Making docker images for Service-Center you can refer to
this [doc](/scripts
For Making the Front-end images you can refer to this
[doc](/scripts/docker/build-frontend-image)
-After Making the images, you can run the following command at the PROJECT_ROOT
to startup all
+After Making the images, you can run the following command at the
`PROJECT_ROOT` to startup all
- docker-compose up
\ No newline at end of file
+```bash
+# the directory of docker-compose.yml file
+cd examples/infrastructures/docker
+docker-compose up
+```
\ No newline at end of file
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Bug fixes
> ---------
>
> Key: SCB-993
> URL: https://issues.apache.org/jira/browse/SCB-993
> Project: Apache ServiceComb
> Issue Type: Bug
> Components: Service-Center
> Reporter: little-cui
> Assignee: little-cui
> Priority: Major
> Fix For: service-center-1.1.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)