Where can I find out the possible environment variables for Hyperledger Fabric peer command?

前端 未结 3 1166
小蘑菇
小蘑菇 2021-02-06 11:51

When configuring a peer node to run, there are a number of environment variables included in the sample docker-compose files. Is there somewhere that I can find them all documen

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-06 12:10

    Hyperledger Fabric provides a sample configuration file that basically includes all the possible properties for the peer component. Of course, you will need to convert the yaml properties to the corresponding environment variable name using the formula:

    foo:
    
        bar: baz
    

    becomes CORE_FOO_BAR=baz

    The same applies to the orderer component, which has it's own sample configuration file.

提交回复
热议问题