Skip to content

Instantly share code, notes, and snippets.

@kctam
Created March 20, 2020 03:13
Show Gist options
  • Select an option

  • Save kctam/8fc784ab267754e9876ef5b791a7bccc to your computer and use it in GitHub Desktop.

Select an option

Save kctam/8fc784ab267754e9876ef5b791a7bccc to your computer and use it in GitHub Desktop.
For orderer6 container
version: '2'
volumes:
orderer6.example.com:
networks:
byfn:
services:
orderer6.example.com:
extends:
file: base/peer-base.yaml
service: orderer-base
container_name: orderer6.example.com
networks:
- byfn
volumes:
- ./channel-artifacts/latest_config.block:/var/hyperledger/orderer/orderer.genesis.block
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer6.example.com/msp:/var/hyperledger/orderer/msp
- ./crypto-config/ordererOrganizations/example.com/orderers/orderer6.example.com/tls/:/var/hyperledger/orderer/tls
- orderer6.example.com:/var/hyperledger/production/orderer
ports:
- 12050:7050
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment