-
Notifications
You must be signed in to change notification settings - Fork 0
/
host2.yaml
executable file
·45 lines (38 loc) · 1.17 KB
/
host2.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
version: '2'
volumes:
# orderer2.example.com:
peer1.org1.subskribo.be:
networks:
byfn:
external:
name: hlf-network
services:
# orderer2.example.com:
# extends:
# file: base/peer-base.yaml
# service: orderer-base
# environment:
# - ORDERER_GENERAL_LISTENPORT=8050
# container_name: orderer2.example.com
# networks:
# - byfn
# volumes:
# - ./channel-artifacts/genesis.block:/var/hyperledger/orderer/orderer.genesis.block
# - ./crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/msp:/var/hyperledger/orderer/msp
# - ./crypto-config/ordererOrganizations/example.com/orderers/orderer2.example.com/tls/:/var/hyperledger/orderer/tls
# - orderer2.example.com:/var/hyperledger/production/orderer
# ports:
# - 8050:8050
peer1.org1.subskribo.be:
container_name: peer1.org1.subskribo.be
environment:
- CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/fabric/msp
extends:
file: base/docker-compose-base.yaml
service: peer1.org1.subskribo.be
networks:
- byfn