Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit 3bca2f1

Browse files
author
Simon Stone
authored
Merge pull request #138 from sstone1/issue-137
Set CORE_CHAINCODE_MODE=dev for non TLS networks (resolves #137)
2 parents db1cfab + 03dfa4a commit 3bca2f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/docker/create-peer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
CORE_CHAINCODE_GOLANG_RUNTIME: hyperledger/fabric-baseos:0.4.18
148148
CORE_CHAINCODE_JAVA_RUNTIME: hyperledger/fabric-javaenv:1.4.4
149149
CORE_CHAINCODE_NODE_RUNTIME: hyperledger/fabric-baseimage:0.4.18
150+
CORE_CHAINCODE_MODE: "{{ 'net' if peer.tls.enabled else 'dev' }}"
150151
CORE_LEDGER_STATE_STATEDATABASE: "{{ 'CouchDB' if peer.database_type is defined and peer.database_type == 'couchdb' else 'goleveldb' }}"
151152
CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS: "{{
152153
peer.docker.couchdb.hostname + ':5984' if peer.database_type is defined and peer.database_type == 'couchdb' else ''

0 commit comments

Comments
 (0)