mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55: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.
|
||||
|
||||
```bash
|
||||
./organization/magnetocorp/configuration/cli/monitordocker.sh net_test
|
||||
./organization/magnetocorp/configuration/cli/monitordocker.sh fabric_test
|
||||
```
|
||||
|
||||
### 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"
|
||||
|
||||
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:
|
||||
basic:
|
||||
external:
|
||||
name: net_test
|
||||
name: fabric_test
|
||||
|
||||
services:
|
||||
cliDigiBank:
|
||||
|
|
@ -34,5 +34,4 @@ services:
|
|||
- ./../../../../organization/digibank:/opt/gopath/src/github.com/
|
||||
- ./../../../../../test-network/organizations:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/
|
||||
networks:
|
||||
- basic
|
||||
|
||||
- test
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ version: '2'
|
|||
networks:
|
||||
basic:
|
||||
external:
|
||||
name: net_test
|
||||
name: fabric_test
|
||||
|
||||
services:
|
||||
cliMagnetoCorp:
|
||||
|
|
@ -34,4 +34,4 @@ services:
|
|||
- ./../../../../organization/magnetocorp:/opt/gopath/src/github.com/
|
||||
- ./../../../../../test-network/organizations:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/
|
||||
networks:
|
||||
- basic
|
||||
- test
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# More information at https://github.com/gliderlabs/logspout/tree/master/httpstream
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
DOCKER_NETWORK=net_test
|
||||
DOCKER_NETWORK=fabric_test
|
||||
else
|
||||
DOCKER_NETWORK="$1"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue