-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #479 from zhuyuanmao/download-node-config
Add get channel config endpoint
- Loading branch information
Showing
6 changed files
with
185 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# This compose file will deploy the services, and bootup a postgres server. | ||
|
||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
# cello-dashboard: dashboard service for cello | ||
# cello-api-engine: api engine service of cello to provide RESTful APIs, listen on 8080 | ||
# cello-postgres: postgres db | ||
|
||
version: '3.2' | ||
services: | ||
cello-dashboard: | ||
image: hyperledger/cello-dashboard | ||
container_name: cello-dashboard | ||
ports: | ||
- "${DASHBOARD_SERVICE_PORT}:8081" | ||
networks: | ||
- cello-net | ||
|
||
# pg database | ||
cello-postgres: | ||
image: postgres:11.1 | ||
container_name: cello-postgres | ||
restart: unless-stopped | ||
environment: | ||
- POSTGRES_DB=api_engine | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD=123456 | ||
ports: | ||
- "5432:5432" | ||
volumes: | ||
- /opt/cello/pgdata:/var/lib/postgresql/data | ||
networks: | ||
- cello-net | ||
|
||
cello-redis: | ||
image: redis:4.0.13 | ||
hostname: cello-redis | ||
container_name: cello-redis | ||
volumes: | ||
- /opt/cello/redis:/data | ||
|
||
# api engine service of cello | ||
cello-api-engine: | ||
image: hyperledger/cello-api-engine | ||
container_name: cello-api-engine | ||
restart: unless-stopped | ||
stdin_open: true | ||
dns_search: . | ||
environment: | ||
- GODEBUG=netdns=go | ||
- DB_NAME=api_engine | ||
- DB_USER=postgres | ||
- DB_PASSWORD=123456 | ||
- DB_HOST=cello-postgres | ||
- CELERY_BROKER_URL=redis://redis | ||
- DB_PORT=5432 | ||
- DEBUG=True | ||
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock | ||
- FABRIC_LOGGING_SPEC=INFO | ||
ports: | ||
- "8080:8080" | ||
volumes: | ||
- /opt/cello:/opt/cello | ||
networks: | ||
- cello-net | ||
|
||
# cello docker agent may deploy to an individual server. This cofig only serves development purpose. | ||
cello-docker-agent: | ||
image: hyperledger/cello-agent-docker | ||
container_name: cello-docker-agent | ||
hostname: cello.docker.agent | ||
restart: always | ||
ports: | ||
- "2375:2375" | ||
- "5001:5001" | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
environment: | ||
- DOCKER_URL=unix://var/run/docker.sock | ||
- STORAGE_PATH=/opt/hyperledger | ||
networks: | ||
- cello-net | ||
|
||
networks: | ||
cello-net: | ||
name: cello-net | ||
|
||
volumes: | ||
cello-api-engine: | ||
cello-postgres: | ||
cello-dashboard: | ||
cello-docker-agent: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters