-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-orderer1.yaml
45 lines (37 loc) · 1.71 KB
/
docker-orderer1.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
45
version: '2'
services:
orderer1.7shu.co:
container_name: orderer1.7shu.co
image: hyperledger/fabric-orderer
environment:
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=vagrant_default
- ORDERER_GENERAL_LOGLEVEL=debug
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
- ORDERER_GENERAL_LISTENPORT=7050
- ORDERER_GENERAL_GENESISMETHOD=file
- ORDERER_GENERAL_GENESISFILE=/var/hyperledger/orderer/orderer.genesis.block
- ORDERER_GENERAL_LOCALMSPID=OrdererMSP
- ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/orderer/msp
- ORDERER_GENERAL_TLS_ENABLED=false
- ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/orderer/tls/server.key
- ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/orderer/tls/server.crt
- ORDERER_GENERAL_TLS_ROOTCAS=[/var/hyperledger/orderer/tls/ca.crt]
- ORDERER_KAFKA_RETRY_LONGINTERVAL=10s
- ORDERER_KAFKA_RETRY_LONGTOTAL=100s
- ORDERER_KAFKA_RETRY_SHORTINTERVAL=1s
- ORDERER_KAFKA_RETRY_SHORTTOTAL=30s
- ORDERER_KAFKA_VERBOS=true
- ORDERER_KAFKA_BROKERS=[192.168.31.211:9092,192.168.31.212:9092,192.168.31.213:9092,192.168.31.214:9092]
working_dir: /opt/gopath/src/github.com/hyperledger/fabric
command: orderer
volumes:
- ./channel-artifacts/genesis.block:/var/hyperledger/orderer/orderer.genesis.block
- ./crypto-config/ordererOrganizations/7shu.co/orderers/orderer1.7shu.co/msp:/var/hyperledger/orderer/msp
- ./crypto-config/ordererOrganizations/7shu.co/orderers/orderer1.7shu.co/tls:/var/hyperledger/orderer/tls
ports:
- 7050:7050
extra_hosts:
- "kafka1:192.168.31.211"
- "kafka2:192.168.31.212"
- "kafka3:192.168.31.213"
- "kafka4:192.168.31.214"