mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
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> |
||
|---|---|---|
| .. | ||
| config | ||
| crypto-config | ||
| .env | ||
| configtx.yaml | ||
| crypto-config.yaml | ||
| docker-compose.yml | ||
| generate.sh | ||
| init.sh | ||
| README.md | ||
| start.sh | ||
| stop.sh | ||
| teardown.sh | ||
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.

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