Minor fix usage

pull/108/head
Baohua Yang 2017-09-11 16:43:17 +08:00
parent 51d873dcdc
commit 229b5c2494
2 changed files with 17 additions and 11 deletions

View File

@ -137,6 +137,12 @@ clean: # clean up environment
cli: # enter the cli container
docker exec -it fabric-cli bash
peer: # enter the peer container
docker exec -it peer0.org1.example.com bash
dev_compile: # rebuild the peer
docker exec -it peer0.org1.example.com bash /tmp/peer_build.sh
ps: # show existing docker images
docker ps -a
@ -148,4 +154,4 @@ dev_logs: # show dev logs
logs_check: # show logs
docker logs peer0.org1.example.com >& /tmp/dev_peer.log
vim /tmp/dev_peer.log
less /tmp/dev_peer.log

View File

@ -8,16 +8,16 @@
version: '2.0'
services:
ca.example.com: # not used currently
extends:
file: base.yaml
service: ca-base
container_name: ca.example.com
hostname: ca.example.com
# command: /go/src/github.com/hyperledger/fabric-ca/bin/ca server start -ca testdata/ec.pem -ca-key testdata/ec-key.pem -config testdata/testconfig.json
ports:
- "7054:7054"
command: fabric-ca-server start -b admin:adminpw
# ca.example.com: # not used currently
# extends:
# file: base.yaml
# service: ca-base
# container_name: ca.example.com
# hostname: ca.example.com
# # command: /go/src/github.com/hyperledger/fabric-ca/bin/ca server start -ca testdata/ec.pem #-ca-key testdata/ec-key.pem -config testdata/testconfig.json
# ports:
# - "7054:7054"
# command: fabric-ca-server start -b admin:adminpw
orderer.example.com: # There can be multiple orderers
extends: