github.com/inklabsfoundation/inkchain@v0.17.1-0.20181025012015-c3cef8062f19/examples/creative/scripts/base.yaml (about) 1 # Copyright INK Corp. All Rights Reserved. 2 # 3 # SPDX-License-Identifier: Apache-2.0 4 # 5 6 version: '2' 7 services: 8 peer-base: 9 image: inklabsfoundation/inkchain-peer 10 environment: 11 - CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock 12 - CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=${COMPOSE_PROJECT_NAME}_default 13 - CORE_LOGGING_LEVEL=DEBUG 14 - CORE_PEER_GOSSIP_USELEADERELECTION=true 15 - CORE_PEER_GOSSIP_ORGLEADER=false 16 - CORE_PEER_GOSSIP_SKIPHANDSHAKE=true 17 - CORE_PEER_MSPCONFIGPATH=/etc/inkchain/crypto/peer/msp 18 - CORE_PEER_TLS_ENABLED=true 19 - CORE_PEER_TLS_KEY_FILE=/etc/inkchain/crypto/peer/tls/server.key 20 - CORE_PEER_TLS_CERT_FILE=/etc/inkchain/crypto/peer/tls/server.crt 21 - CORE_PEER_TLS_ROOTCERT_FILE=/etc/inkchain/crypto/peer/tls/ca.crt 22 working_dir: /opt/gopath/src/github.com/inklabsfoundation/inkchain/peer 23 command: peer node start 24 volumes: 25 - /var/run/:/host/var/run/