Skip to content

Commit

Permalink
Use new environment variable for genesis block, for HLF version 2
Browse files Browse the repository at this point in the history
Signed-off-by: Grzegorz Hejduk <grzegorz.hejduk@softwaremill.com>
  • Loading branch information
Grzegorz Hejduk authored and gzhk committed Nov 22, 2021
1 parent 3a5ff32 commit df02bed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/setup-docker/templates/fabric-docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ services:
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
- ORDERER_GENERAL_LISTENPORT=<%= orderer.port %>
- ORDERER_GENERAL_GENESISMETHOD=file
<%_ if(networkSettings.capabilities.isV2) { _%>
- ORDERER_GENERAL_BOOTSTRAPFILE=/var/hyperledger/config/<%= ordererGroup.genesisBlockName %>
<%_ } else { _%>
- ORDERER_GENERAL_GENESISFILE=/var/hyperledger/config/<%= ordererGroup.genesisBlockName %>
<%_ } _%>
- ORDERER_GENERAL_LOCALMSPID=<%= org.mspName %>
- ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/orderer/msp
- GODEBUG=netdns=go
Expand Down

0 comments on commit df02bed

Please sign in to comment.