-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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>
- Loading branch information
Chris Elder
committed
Jul 25, 2017
1 parent
2f4e9b8
commit 92348cb
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92348cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but either couchdb is creating too many problems in starting properly or it's interrupting with fabric features, after starting the couchdb service I was not been able to even start composer-rest-service, all in all, its creating too many problems, I am using a command below to start the couchdb:
CHANNEL_NAME=mychannel TIMEOUT=1000 docker-compose -f ../cli-config/docker-compose-cli.yaml -f docker-compose-couch.yaml up -d