Created
February 26, 2020 04:37
-
-
Save cayblood/2506b59edb2fbd2365a66898af1a77df to your computer and use it in GitHub Desktop.
This file contains hidden or 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
version: '2' | |
services: | |
cli: | |
container_name: cli | |
image: hyperledger/fabric-tools:1.2.0 | |
tty: true | |
environment: | |
- GOPATH=/opt/gopath | |
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock | |
- CORE_LOGGING_LEVEL=info # Set logging level to debug for more verbose logging | |
- CORE_PEER_ID=cli | |
- CORE_CHAINCODE_KEEPALIVE=10 | |
- CORE_PEER_TLS_ENABLED=true | |
- CORE_PEER_TLS_ROOTCERT_FILE=/opt/home/managedblockchain-tls-chain.pem | |
- CORE_PEER_LOCALMSPID=m-SERCXJLV7ZDG5PJN76HWX6IAHU | |
- CORE_PEER_MSPCONFIGPATH=/opt/home/admin-msp | |
- CORE_PEER_ADDRESS=nd-wjw52mhhjjf6temyvk73iagjvm.m-sercxjlv7zdg5pjn76hwx6iahu.n-qcid77fovbeideo2wyuvvomdpa.managedblockchain.us-east-1.amazonaws.com:30003 | |
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer | |
command: /bin/bash | |
volumes: | |
- /var/run/:/host/var/run/ | |
- /home/ec2-user/fabric-samples/chaincode:/opt/gopath/src/github.com/ | |
- /home/ec2-user:/opt/home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment