docker-compose-files/hyperledger_fabric/v1.0.0/kafka
Baohua Yang 03d039a00d Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
..
channel-artifacts Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
crypto-config Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
README.md Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
configtx.yaml Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
crypto-config.yaml Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
docker-compose-base.yaml Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
orderer-base.yaml Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
orderer-kafka-base.yaml Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
orderer-kafka.yaml Add fabric 1.0.5 2017-12-07 10:54:06 +08:00
peer-base.yaml Add fabric 1.0.5 2017-12-07 10:54:06 +08:00

README.md

[WIP]

Start a network base on kafka

$ cd ~/docker-compose-files/tree/master/hyperledger/1.0/kafka
$ docker-compose -f orderer-kafka.yaml up (-d)

When the fabric-network fully started, it takes about 15-20s.

Test chaincode

$ docker exec -it fabric-cli bash
$ bash ./scripts/initialize.sh # initialize the fabric network
$ bash ./scripts/test_4peers.sh

(Optional) If you want to use official images, you can run the following command first

$ cd ~/docker-compose-files/tree/master/hyperledger/1.0
$ bash ./scripts/download_official_images.sh