Skip to content

Instantly share code, notes, and snippets.

@RealDeanZhao
Last active June 7, 2018 09:45
Show Gist options
  • Save RealDeanZhao/49afda54103c76956a47bec167a93559 to your computer and use it in GitHub Desktop.
Save RealDeanZhao/49afda54103c76956a47bec167a93559 to your computer and use it in GitHub Desktop.
docker-compose.yaml
version: '2'
networks:
xyd-themis:
services:
rca-themis:
container_name: rca-themis
image: hyperledger/fabric-ca:x86_64-1.1.0
command: /bin/bash -c '/scripts/start-root-ca.sh 2>&1 | tee /data/logs/rca-themis.log'
environment:
- FABRIC_CA_SERVER_HOME=/etc/hyperledger/fabric-ca
- FABRIC_CA_SERVER_TLS_ENABLED=true
- FABRIC_CA_SERVER_CSR_CN=rca-themis
- FABRIC_CA_SERVER_CSR_HOSTS=rca-themis
- FABRIC_CA_SERVER_DEBUG=true
- BOOTSTRAP_USER_PASS=rca-themis-admin:rca-themis-adminpw
- TARGET_CERTFILE=/data/themis-ca-cert.pem
- FABRIC_ORGS=themis xiaoyudian jinzun
volumes:
- ./scripts:/scripts
- ./data:/data
networks:
- xyd-themis
rca-xiaoyudian:
container_name: rca-xiaoyudian
image: hyperledger/fabric-ca:x86_64-1.1.0
command: /bin/bash -c '/scripts/start-root-ca.sh 2>&1 | tee /data/logs/rca-xiaoyudian.log'
environment:
- FABRIC_CA_SERVER_HOME=/etc/hyperledger/fabric-ca
- FABRIC_CA_SERVER_TLS_ENABLED=true
- FABRIC_CA_SERVER_CSR_CN=rca-xiaoyudian
- FABRIC_CA_SERVER_CSR_HOSTS=rca-xiaoyudian
- FABRIC_CA_SERVER_DEBUG=true
- BOOTSTRAP_USER_PASS=rca-xiaoyudian-admin:rca-xiaoyudian-adminpw
- TARGET_CERTFILE=/data/xiaoyudian-ca-cert.pem
- FABRIC_ORGS=themis xiaoyudian jinzun
volumes:
- ./scripts:/scripts
- ./data:/data
networks:
- xyd-themis
rca-jinzun:
container_name: rca-jinzun
image: hyperledger/fabric-ca:x86_64-1.1.0
command: /bin/bash -c '/scripts/start-root-ca.sh 2>&1 | tee /data/logs/rca-jinzun.log'
environment:
- FABRIC_CA_SERVER_HOME=/etc/hyperledger/fabric-ca
- FABRIC_CA_SERVER_TLS_ENABLED=true
- FABRIC_CA_SERVER_CSR_CN=rca-jinzun
- FABRIC_CA_SERVER_CSR_HOSTS=rca-jinzun
- FABRIC_CA_SERVER_DEBUG=true
- BOOTSTRAP_USER_PASS=rca-jinzun-admin:rca-jinzun-adminpw
- TARGET_CERTFILE=/data/jinzun-ca-cert.pem
- FABRIC_ORGS=themis xiaoyudian jinzun
volumes:
- ./scripts:/scripts
- ./data:/data
networks:
- xyd-themis
ica-themis:
container_name: ica-themis
image: hyperledger/fabric-ca:x86_64-1.1.0
command: /bin/bash -c '/scripts/start-intermediate-ca.sh themis 2>&1 | tee /data/logs/ica-themis.log'
environment:
- FABRIC_CA_SERVER_HOME=/etc/hyperledger/fabric-ca
- FABRIC_CA_SERVER_CA_NAME=ica-themis
- FABRIC_CA_SERVER_INTERMEDIATE_TLS_CERTFILES=/data/themis-ca-cert.pem
- FABRIC_CA_SERVER_CSR_HOSTS=ica-themis
- FABRIC_CA_SERVER_TLS_ENABLED=true
- FABRIC_CA_SERVER_DEBUG=true
- BOOTSTRAP_USER_PASS=ica-themis-admin:ica-themis-adminpw
- PARENT_URL=https://rca-themis-admin:rca-themis-adminpw@rca-themis:7054
- TARGET_CHAINFILE=/data/themis-ca-chain.pem
- ORG=themis
- FABRIC_ORGS=themis xiaoyudian jinzun
volumes:
- ./scripts:/scripts
- ./data:/data
ports:
- 7054:7054
networks:
- xyd-themis
depends_on:
- rca-themis
ica-xiaoyudian:
container_name: ica-xiaoyudian
image: hyperledger/fabric-ca:x86_64-1.1.0
command: /bin/bash -c '/scripts/start-intermediate-ca.sh xiaoyudian 2>&1 | tee /data/logs/ica-xiaoyudian.log'
environment:
- FABRIC_CA_SERVER_HOME=/etc/hyperledger/fabric-ca
- FABRIC_CA_SERVER_CA_NAME=ica-xiaoyudian
- FABRIC_CA_SERVER_INTERMEDIATE_TLS_CERTFILES=/data/xiaoyudian-ca-cert.pem
- FABRIC_CA_SERVER_CSR_HOSTS=ica-xiaoyudian
- FABRIC_CA_SERVER_TLS_ENABLED=true
- FABRIC_CA_SERVER_DEBUG=true
- BOOTSTRAP_USER_PASS=ica-xiaoyudian-admin:ica-xiaoyudian-adminpw
- PARENT_URL=https://rca-xiaoyudian-admin:rca-xiaoyudian-adminpw@rca-xiaoyudian:7054
- TARGET_CHAINFILE=/data/xiaoyudian-ca-chain.pem
- ORG=xiaoyudian
- FABRIC_ORGS=themis xiaoyudian jinzun
volumes:
- ./scripts:/scripts
- ./data:/data
ports:
- 8054:7054
networks:
- xyd-themis
depends_on:
- rca-xiaoyudian
ica-jinzun:
container_name: ica-jinzun
image: hyperledger/fabric-ca:x86_64-1.1.0
command: /bin/bash -c '/scripts/start-intermediate-ca.sh jinzun 2>&1 | tee /data/logs/ica-jinzun.log'
environment:
- FABRIC_CA_SERVER_HOME=/etc/hyperledger/fabric-ca
- FABRIC_CA_SERVER_CA_NAME=ica-jinzun
- FABRIC_CA_SERVER_INTERMEDIATE_TLS_CERTFILES=/data/jinzun-ca-cert.pem
- FABRIC_CA_SERVER_CSR_HOSTS=ica-jinzun
- FABRIC_CA_SERVER_TLS_ENABLED=true
- FABRIC_CA_SERVER_DEBUG=true
- BOOTSTRAP_USER_PASS=ica-jinzun-admin:ica-jinzun-adminpw
- PARENT_URL=https://rca-jinzun-admin:rca-jinzun-adminpw@rca-jinzun:7054
- TARGET_CHAINFILE=/data/jinzun-ca-chain.pem
- ORG=jinzun
- FABRIC_ORGS=themis xiaoyudian jinzun
volumes:
- ./scripts:/scripts
- ./data:/data
ports:
- 9054:7054
networks:
- xyd-themis
depends_on:
- rca-jinzun
setup:
container_name: setup
image: hyperledger/fabric-ca-tools:x86_64-1.1.0
command: /bin/bash -c '/scripts/setup-fabric.sh 2>&1 | tee /data/logs/setup.log; sleep 99999'
volumes:
- ./scripts:/scripts
- ./data:/data
networks:
- xyd-themis
depends_on:
- ica-themis
- ica-xiaoyudian
- ica-jinzun
orderer1-themis:
container_name: orderer1-themis
image: hyperledger/fabric-ca-orderer:x86_64-1.1.0
environment:
- FABRIC_CA_CLIENT_HOME=/etc/hyperledger/orderer
- FABRIC_CA_CLIENT_TLS_CERTFILES=/data/themis-ca-chain.pem
- ENROLLMENT_URL=https://orderer1-themis:orderer1-themispw@ica-themis:7054
- ORDERER_HOME=/etc/hyperledger/orderer
- ORDERER_HOST=orderer1-themis
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
- ORDERER_GENERAL_GENESISMETHOD=file
- ORDERER_GENERAL_GENESISFILE=/data/genesis.block
- ORDERER_GENERAL_LOCALMSPID=themisMSP
- ORDERER_GENERAL_LOCALMSPDIR=/etc/hyperledger/orderer/msp
- ORDERER_GENERAL_TLS_ENABLED=true
- ORDERER_GENERAL_TLS_PRIVATEKEY=/etc/hyperledger/orderer/tls/server.key
- ORDERER_GENERAL_TLS_CERTIFICATE=/etc/hyperledger/orderer/tls/server.crt
- ORDERER_GENERAL_TLS_ROOTCAS=[/data/themis-ca-chain.pem]
- ORDERER_GENERAL_TLS_CLIENTAUTHREQUIRED=true
- ORDERER_GENERAL_TLS_CLIENTROOTCAS=[/data/themis-ca-chain.pem]
- ORDERER_GENERAL_LOGLEVEL=debug
- ORDERER_DEBUG_BROADCASTTRACEDIR=data/logs
- ORG=themis
- ORG_ADMIN_CERT=/data/orgs/themis/msp/admincerts/cert.pem
command: /bin/bash -c '/scripts/start-orderer.sh 2>&1 | tee /data/logs/orderer1-themis.log'
volumes:
- ./scripts:/scripts
- ./data:/data
networks:
- xyd-themis
depends_on:
- setup
peer1-xiaoyudian:
container_name: peer1-xiaoyudian
image: hyperledger/fabric-ca-peer:x86_64-1.1.0
environment:
- FABRIC_CA_CLIENT_HOME=/opt/gopath/src/github.com/hyperledger/fabric/peer
- FABRIC_CA_CLIENT_TLS_CERTFILES=/data/xiaoyudian-ca-chain.pem
- ENROLLMENT_URL=https://peer1-xiaoyudian:peer1-xiaoyudianpw@ica-xiaoyudian:7054
- PEER_NAME=peer1-xiaoyudian
- PEER_HOME=/opt/gopath/src/github.com/hyperledger/fabric/peer
- PEER_HOST=peer1-xiaoyudian
- PEER_NAME_PASS=peer1-xiaoyudian:peer1-xiaoyudianpw
- CORE_PEER_ID=peer1-xiaoyudian
- CORE_PEER_ADDRESS=peer1-xiaoyudian:7051
- CORE_PEER_LOCALMSPID=xiaoyudianMSP
- CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/msp
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=net_xyd-themis
- CORE_LOGGING_LEVEL=DEBUG
- CORE_PEER_TLS_ENABLED=true
- CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/tls/server.crt
- CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/tls/server.key
- CORE_PEER_TLS_ROOTCERT_FILE=/data/xiaoyudian-ca-chain.pem
- CORE_PEER_TLS_CLIENTAUTHREQUIRED=true
- CORE_PEER_TLS_CLIENTROOTCAS_FILES=/data/xiaoyudian-ca-chain.pem
- CORE_PEER_TLS_CLIENTCERT_FILE=/data/tls/peer1-xiaoyudian-client.crt
- CORE_PEER_TLS_CLIENTKEY_FILE=/data/tls/peer1-xiaoyudian-client.key
- CORE_PEER_GOSSIP_USELEADERELECTION=true
- CORE_PEER_GOSSIP_ORGLEADER=false
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1-xiaoyudian:7051
- CORE_PEER_GOSSIP_SKIPHANDSHAKE=true
- CORE_LEDGER_STATE_STATEDATABASE=CouchDB
- CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb.peer1-xiaoyudian:5984
- CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=
- CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=
- ORG=xiaoyudian
- ORG_ADMIN_CERT=/data/orgs/xiaoyudian/msp/admincerts/cert.pem
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
command: /bin/bash -c '/scripts/start-peer.sh 2>&1 | tee /data/logs/peer1-xiaoyudian.log'
volumes:
- ./scripts:/scripts
- ./data:/data
- /var/run:/host/var/run
ports:
- 7051:7051
- 7052:7052
- 7053:7053
networks:
- xyd-themis
depends_on:
- setup
- couchdb.peer1-xiaoyudian
couchdb.peer1-xiaoyudian:
container_name: couchdb.peer1-xiaoyudian
image: hyperledger/fabric-couchdb:x86_64-0.4.6
environment:
- COUCHDB_USER=
- COUCHDB_PASSWORD=
ports:
- 5984:5984
networks:
- xyd-themis
peer2-xiaoyudian:
container_name: peer2-xiaoyudian
image: hyperledger/fabric-ca-peer:x86_64-1.1.0
environment:
- FABRIC_CA_CLIENT_HOME=/opt/gopath/src/github.com/hyperledger/fabric/peer
- FABRIC_CA_CLIENT_TLS_CERTFILES=/data/xiaoyudian-ca-chain.pem
- ENROLLMENT_URL=https://peer2-xiaoyudian:peer2-xiaoyudianpw@ica-xiaoyudian:7054
- PEER_NAME=peer2-xiaoyudian
- PEER_HOME=/opt/gopath/src/github.com/hyperledger/fabric/peer
- PEER_HOST=peer2-xiaoyudian
- PEER_NAME_PASS=peer2-xiaoyudian:peer2-xiaoyudianpw
- CORE_PEER_ID=peer2-xiaoyudian
- CORE_PEER_ADDRESS=peer2-xiaoyudian:7051
- CORE_PEER_LOCALMSPID=xiaoyudianMSP
- CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/msp
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=net_xyd-themis
- CORE_LOGGING_LEVEL=DEBUG
- CORE_PEER_TLS_ENABLED=true
- CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/tls/server.crt
- CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/tls/server.key
- CORE_PEER_TLS_ROOTCERT_FILE=/data/xiaoyudian-ca-chain.pem
- CORE_PEER_TLS_CLIENTAUTHREQUIRED=true
- CORE_PEER_TLS_CLIENTROOTCAS_FILES=/data/xiaoyudian-ca-chain.pem
- CORE_PEER_TLS_CLIENTCERT_FILE=/data/tls/peer2-xiaoyudian-client.crt
- CORE_PEER_TLS_CLIENTKEY_FILE=/data/tls/peer2-xiaoyudian-client.key
- CORE_PEER_GOSSIP_USELEADERELECTION=true
- CORE_PEER_GOSSIP_ORGLEADER=false
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer2-xiaoyudian:7051
- CORE_PEER_GOSSIP_SKIPHANDSHAKE=true
- CORE_LEDGER_STATE_STATEDATABASE=CouchDB
- CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb.peer2-xiaoyudian:5984
- CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=
- CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=
- ORG=xiaoyudian
- ORG_ADMIN_CERT=/data/orgs/xiaoyudian/msp/admincerts/cert.pem
- CORE_PEER_GOSSIP_BOOTSTRAP=peer1-xiaoyudian:7051
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
command: /bin/bash -c '/scripts/start-peer.sh 2>&1 | tee /data/logs/peer2-xiaoyudian.log'
volumes:
- ./scripts:/scripts
- ./data:/data
- /var/run:/host/var/run
ports:
- 8051:7051
- 8052:7052
- 8053:7053
networks:
- xyd-themis
depends_on:
- setup
- couchdb.peer2-xiaoyudian
couchdb.peer2-xiaoyudian:
container_name: couchdb.peer2-xiaoyudian
image: hyperledger/fabric-couchdb:x86_64-0.4.6
environment:
- COUCHDB_USER=
- COUCHDB_PASSWORD=
ports:
- 6984:5984
networks:
- xyd-themis
peer1-jinzun:
container_name: peer1-jinzun
image: hyperledger/fabric-ca-peer:x86_64-1.1.0
environment:
- FABRIC_CA_CLIENT_HOME=/opt/gopath/src/github.com/hyperledger/fabric/peer
- FABRIC_CA_CLIENT_TLS_CERTFILES=/data/jinzun-ca-chain.pem
- ENROLLMENT_URL=https://peer1-jinzun:peer1-jinzunpw@ica-jinzun:7054
- PEER_NAME=peer1-jinzun
- PEER_HOME=/opt/gopath/src/github.com/hyperledger/fabric/peer
- PEER_HOST=peer1-jinzun
- PEER_NAME_PASS=peer1-jinzun:peer1-jinzunpw
- CORE_PEER_ID=peer1-jinzun
- CORE_PEER_ADDRESS=peer1-jinzun:7051
- CORE_PEER_LOCALMSPID=jinzunMSP
- CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/msp
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=net_xyd-themis
- CORE_LOGGING_LEVEL=DEBUG
- CORE_PEER_TLS_ENABLED=true
- CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/tls/server.crt
- CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/tls/server.key
- CORE_PEER_TLS_ROOTCERT_FILE=/data/jinzun-ca-chain.pem
- CORE_PEER_TLS_CLIENTAUTHREQUIRED=true
- CORE_PEER_TLS_CLIENTROOTCAS_FILES=/data/jinzun-ca-chain.pem
- CORE_PEER_TLS_CLIENTCERT_FILE=/data/tls/peer1-jinzun-client.crt
- CORE_PEER_TLS_CLIENTKEY_FILE=/data/tls/peer1-jinzun-client.key
- CORE_PEER_GOSSIP_USELEADERELECTION=true
- CORE_PEER_GOSSIP_ORGLEADER=false
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1-jinzun:7051
- CORE_PEER_GOSSIP_SKIPHANDSHAKE=true
- CORE_LEDGER_STATE_STATEDATABASE=CouchDB
- CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb.peer1-jinzun:5984
- CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=
- CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=
- ORG=jinzun
- ORG_ADMIN_CERT=/data/orgs/jinzun/msp/admincerts/cert.pem
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
command: /bin/bash -c '/scripts/start-peer.sh 2>&1 | tee /data/logs/peer1-jinzun.log'
volumes:
- ./scripts:/scripts
- ./data:/data
- /var/run:/host/var/run
ports:
- 7151:7051
- 7152:7052
- 7153:7053
networks:
- xyd-themis
depends_on:
- setup
- couchdb.peer1-jinzun
couchdb.peer1-jinzun:
container_name: couchdb.peer1-jinzun
image: hyperledger/fabric-couchdb:x86_64-0.4.6
environment:
- COUCHDB_USER=
- COUCHDB_PASSWORD=
ports:
- 7984:5984
networks:
- xyd-themis
peer2-jinzun:
container_name: peer2-jinzun
image: hyperledger/fabric-ca-peer:x86_64-1.1.0
environment:
- FABRIC_CA_CLIENT_HOME=/opt/gopath/src/github.com/hyperledger/fabric/peer
- FABRIC_CA_CLIENT_TLS_CERTFILES=/data/jinzun-ca-chain.pem
- ENROLLMENT_URL=https://peer2-jinzun:peer2-jinzunpw@ica-jinzun:7054
- PEER_NAME=peer2-jinzun
- PEER_HOME=/opt/gopath/src/github.com/hyperledger/fabric/peer
- PEER_HOST=peer2-jinzun
- PEER_NAME_PASS=peer2-jinzun:peer2-jinzunpw
- CORE_PEER_ID=peer2-jinzun
- CORE_PEER_ADDRESS=peer2-jinzun:7051
- CORE_PEER_LOCALMSPID=jinzunMSP
- CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/msp
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=net_xyd-themis
- CORE_LOGGING_LEVEL=DEBUG
- CORE_PEER_TLS_ENABLED=true
- CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/tls/server.crt
- CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/tls/server.key
- CORE_PEER_TLS_ROOTCERT_FILE=/data/jinzun-ca-chain.pem
- CORE_PEER_TLS_CLIENTAUTHREQUIRED=true
- CORE_PEER_TLS_CLIENTROOTCAS_FILES=/data/jinzun-ca-chain.pem
- CORE_PEER_TLS_CLIENTCERT_FILE=/data/tls/peer2-jinzun-client.crt
- CORE_PEER_TLS_CLIENTKEY_FILE=/data/tls/peer2-jinzun-client.key
- CORE_PEER_GOSSIP_USELEADERELECTION=true
- CORE_PEER_GOSSIP_ORGLEADER=false
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer2-jinzun:7051
- CORE_PEER_GOSSIP_SKIPHANDSHAKE=true
- CORE_LEDGER_STATE_STATEDATABASE=CouchDB
- CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb.peer2-jinzun:5984
- CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=
- CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=
- ORG=jinzun
- ORG_ADMIN_CERT=/data/orgs/jinzun/msp/admincerts/cert.pem
- CORE_PEER_GOSSIP_BOOTSTRAP=peer1-jinzun:7051
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
command: /bin/bash -c '/scripts/start-peer.sh 2>&1 | tee /data/logs/peer2-jinzun.log'
volumes:
- ./scripts:/scripts
- ./data:/data
- /var/run:/host/var/run
ports:
- 8151:7051
- 8152:7052
- 8153:7053
networks:
- xyd-themis
depends_on:
- setup
- couchdb.peer2-jinzun
couchdb.peer2-jinzun:
container_name: couchdb.peer2-jinzun
image: hyperledger/fabric-couchdb:x86_64-0.4.6
environment:
- COUCHDB_USER=
- COUCHDB_PASSWORD=
ports:
- 8984:5984
networks:
- xyd-themis
run:
container_name: run
image: hyperledger/fabric-ca-tools:x86_64-1.1.0
environment:
- GOPATH=/opt/gopath
command: /bin/bash -c 'sleep 3;/scripts/run-fabric.sh 2>&1 | tee /data/logs/run.log; sleep 99999'
volumes:
- ./scripts:/scripts
- ./data:/data
- /Users/dean/CodeRepos/fabric-samples:/opt/gopath/src/github.com/hyperledger/fabric-samples
- /Users/dean/.gvm/pkgsets/go1.10.2/global/src/github.com/hyperledger/fabric:/opt/gopath/src/github.com/hyperledger/fabric
networks:
- xyd-themis
depends_on:
- orderer1-themis
- peer1-xiaoyudian
- peer2-xiaoyudian
- peer1-jinzun
- peer2-jinzun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment