fabric-samples/basic-network
Chris Elder 92348cb4dd [FAB-5453] Enable CouchDB passwords in Fabric Samples
CouchDB usernames and passwords can be enabled by adding
additional environment variables to docker compose files.

The environment variables are added without values.
This will create peer and couchdb containers without
CouchDB passwords enabled.

Initializing the variables will create a CouchDB container
with and admin username and password.  The peer will also be
created with the CouchDB username in the ledger config.

Change-Id: I56c93111b0a4bd29c714df5a50af82517641bb3b
Signed-off-by: Chris Elder <chris.elder@us.ibm.com>
2017-07-25 10:57:08 -04:00
..
config [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
crypto-config [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
.env FAB-4910 fix incorrect network spec 2017-06-22 09:09:53 +08:00
configtx.yaml [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
crypto-config.yaml [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
docker-compose.yml [FAB-5453] Enable CouchDB passwords in Fabric Samples 2017-07-25 10:57:08 -04:00
generate.sh [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
init.sh FAB-4851 basic network sample 2017-06-21 05:46:02 +00:00
README.md [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00
start.sh FAB-5392 Fix path issue for Git Bash users 2017-07-20 08:24:26 -04:00
stop.sh FAB-4851 basic network sample 2017-06-21 05:46:02 +00:00
teardown.sh [FAB-5260] Update samples to v1.0.0 2017-07-12 09:07:39 -04:00

Basic Network Config

Note that this basic configuration uses pre-generated certificates and key material, and also has predefined transactions to initialize a channel named "mychannel".

To regenerate this material, simply run generate.sh.

To start the network, run start.sh. To stop it, run stop.sh To completely remove all incriminating evidence of the network on your system, run teardown.sh.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License