Created
January 25, 2018 12:49
-
-
Save mtnieto/cb990b683e554c52c500bfa8008ce601 to your computer and use it in GitHub Desktop.
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
# Copyright IBM Corp. All Rights Reserved. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
version: '2' | |
services: | |
peer-base: | |
image: hyperledger/fabric-peer | |
environment: | |
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock | |
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=hf2orgs_default | |
- CORE_LOGGING_LEVEL=DEBUG | |
- CORE_PEER_TLS_ENABLED=true | |
- CORE_PEER_GOSSIP_USELEADERELECTION=true | |
- CORE_PEER_GOSSIP_ORGLEADER=false | |
- CORE_PEER_PROFILE_ENABLED=true | |
- CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/tls/server.crt | |
- CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key | |
- CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt | |
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment