mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-22 01:25:10 +00:00
Update test network docker compose network name (#423)
Signed-off-by: Nikhil Gupta <ngupta@symbridge.com>
This commit is contained in:
parent
15275a0d4d
commit
3714bd5ad5
5 changed files with 49 additions and 50 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue