feknall / Hyperledger-FL

4 stars 0 forks source link

Create a fabric instance with CA #8

Open feknall opened 2 years ago

feknall commented 2 years ago

Fabric and Fabric Sample are two DIFFERENT projects! :)

Our project might doesn't need a Fabric project, and we can just Fabric Sample. P.S: Fabric Sample uses Fabric behind the scene. But it provides a simple test network that is easy to run. For example, the below command uses Fabric version 2.4.5 and Fabric CA 1.5.3 version.

curl -sSL https://bit.ly/2ysbOFE | bash -s -- <fabric_version> <fabric-ca_version>
curl -sSL https://bit.ly/2ysbOFE | bash -s -- 2.4.5 1.5.3
feknall commented 2 years ago

Like the reason for changing the networking of other containers in this project, I have changed the networks of Fabric nodes to use bridge networking.

A section of compose-test-net.yaml file:

network_mode: bridge
#    networks:
#      - test
feknall commented 2 years ago

Hyperledger Fabric CA

I am going to use the latest version (See what happens!)