Update test network docker compose network name (#423)

Signed-off-by: Nikhil Gupta <ngupta@symbridge.com>
This commit is contained in:
nikhil550 2021-02-20 04:26:04 -05:00 committed by GitHub
parent 15275a0d4d
commit 3714bd5ad5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 49 additions and 50 deletions

View file

@ -163,7 +163,7 @@ In one console window, run the network starter script - this will start the two
You can re-use this console window if you wish, but it is recommended to run a docker container monitoring script in its own window. This will let you view what Fabric is doing and help diagnose any failures. You can re-use this console window if you wish, but it is recommended to run a docker container monitoring script in its own window. This will let you view what Fabric is doing and help diagnose any failures.
```bash ```bash
./organization/magnetocorp/configuration/cli/monitordocker.sh net_test ./organization/magnetocorp/configuration/cli/monitordocker.sh fabric_test
``` ```
### Setup the Organizations' environments ### Setup the Organizations' environments

View file

@ -33,4 +33,4 @@ cp "${DIR}/../test-network/organizations/peerOrganizations/org2.example.com/user
cp "${DIR}/../test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/"* "${DIR}/../test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/priv_sk" cp "${DIR}/../test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/"* "${DIR}/../test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/priv_sk"
echo Suggest that you monitor the docker containers by running echo Suggest that you monitor the docker containers by running
echo "./organization/magnetocorp/configuration/cli/monitordocker.sh net_test" echo "./organization/magnetocorp/configuration/cli/monitordocker.sh fabric_test"

View file

@ -8,7 +8,7 @@ version: '2'
networks: networks:
basic: basic:
external: external:
name: net_test name: fabric_test
services: services:
cliDigiBank: cliDigiBank:
@ -34,5 +34,4 @@ services:
- ./../../../../organization/digibank:/opt/gopath/src/github.com/ - ./../../../../organization/digibank:/opt/gopath/src/github.com/
- ./../../../../../test-network/organizations:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ - ./../../../../../test-network/organizations:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/
networks: networks:
- basic - test

View file

@ -8,7 +8,7 @@ version: '2'
networks: networks:
basic: basic:
external: external:
name: net_test name: fabric_test
services: services:
cliMagnetoCorp: cliMagnetoCorp:
@ -34,4 +34,4 @@ services:
- ./../../../../organization/magnetocorp:/opt/gopath/src/github.com/ - ./../../../../organization/magnetocorp:/opt/gopath/src/github.com/
- ./../../../../../test-network/organizations:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ - ./../../../../../test-network/organizations:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/
networks: networks:
- basic - test

View file

@ -6,7 +6,7 @@
# More information at https://github.com/gliderlabs/logspout/tree/master/httpstream # More information at https://github.com/gliderlabs/logspout/tree/master/httpstream
if [ -z "$1" ]; then if [ -z "$1" ]; then
DOCKER_NETWORK=net_test DOCKER_NETWORK=fabric_test
else else
DOCKER_NETWORK="$1" DOCKER_NETWORK="$1"
fi fi