Browse Source

Modify for sunning

fkeitxflf 7 years ago
parent
commit
d2facb1385
5 changed files with 21 additions and 21 deletions
  1. 5 5
      docker-compose-cli.yaml
  2. 2 2
      docker-compose-peer1.yaml
  3. 3 3
      docker-compose-peer2.yaml
  4. 4 4
      docker-compose-peer3.yaml
  5. 7 7
      pack.sh

+ 5 - 5
docker-compose-cli.yaml

@@ -28,11 +28,11 @@ services:
     command: /bin/bash -c './scripts/script.sh ${CHANNEL_NAME}; '
     #command: /bin/bash
     extra_hosts:
-      - "orderer0:10.16.80.209"
-      - "peer0:10.16.80.210"
-      - "peer1:10.16.80.211"
-      - "peer2:10.16.80.212"
-      - "peer3:10.16.80.213"
+      - "orderer0:106.14.183.136"
+      - "peer0:106.14.183.136"
+      - "peer1:139.196.88.181"
+      - "peer2:47.100.40.117"
+      - "peer3:47.100.42.120"
     volumes:
       - /var/run/:/host/var/run/
       - ./examples/:/opt/gopath/src/github.com/hyperledger/fabric/examples/

+ 2 - 2
docker-compose-peer1.yaml

@@ -36,8 +36,8 @@ services:
       - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
       - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb1:5984
     extra_hosts:
-      - "orderer0:10.16.80.209"
-      - "peer0:10.16.80.210"
+      - "orderer0:106.14.183.136"
+      - "peer0:106.14.183.136"
     volumes:
       - /var/run/:/host/var/run/
       - ./crypto-config/peerOrganizations/peerOrg1/peers/peer1.peerOrg1:/etc/hyperledger/fabric/msp/sampleconfig

+ 3 - 3
docker-compose-peer2.yaml

@@ -36,9 +36,9 @@ services:
       - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
       - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb2:5984
     extra_hosts:
-      - "orderer0:10.16.80.209"
-      - "peer0:10.16.80.210"
-      - "peer1:10.16.80.211"
+      - "orderer0:106.14.183.136"
+      - "peer0:106.14.183.136"
+      - "peer1:139.196.88.181"
     volumes:
       - /var/run/:/host/var/run/
       - ./crypto-config/peerOrganizations/peerOrg1/peers/peer2.peerOrg1:/etc/hyperledger/fabric/msp/sampleconfig

+ 4 - 4
docker-compose-peer3.yaml

@@ -36,10 +36,10 @@ services:
       - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
       - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb3:5984
     extra_hosts:
-      - "orderer0:10.16.80.209"
-      - "peer0:10.16.80.210"
-      - "peer1:10.16.80.211"
-      - "peer2:10.16.80.212"
+      - "orderer0:106.14.183.136"
+      - "peer0:106.14.183.136"
+      - "peer1:139.196.88.181"
+      - "peer2:47.100.40.117"
     volumes:
       - /var/run/:/host/var/run/
       - ./crypto-config/peerOrganizations/peerOrg1/peers/peer3.peerOrg1:/etc/hyperledger/fabric/msp/sampleconfig

+ 7 - 7
pack.sh

@@ -1,12 +1,12 @@
 #!/bin/bash
-project=midea
+project=suning
 channel=mychannel
-docker_ca_images="hyperledger/fabric-ca:x86_64-1.0.0-alpha"
-docker_peer_images="hyperledger/fabric-peer:x86_64-1.0.0-alpha"
-docker_couchdb_images="hyperledger/fabric-couchdb:x86_64-1.0.0-alpha"
-docker_orderer_images="docker.io/hyperledger/fabric-orderer:x86_64-1.0.0-alpha"
-docker_ccenv_images="docker.io/hyperledger/fabric-ccenv:x86_64-1.0.0-alpha"
-docker_baseos_images="docker.io/hyperledger/fabric-baseos:x86_64-0.3.0"
+docker_ca_images="hyperledger/fabric-ca:x86_64-1.0.5"
+docker_peer_images="hyperledger/fabric-peer:x86_64-1.0.5"
+docker_couchdb_images="hyperledger/fabric-couchdb:x86_64-1.0.5"
+docker_orderer_images="docker.io/hyperledger/fabric-orderer:x86_64-1.0.5"
+docker_ccenv_images="docker.io/hyperledger/fabric-ccenv:x86_64-1.0.5"
+docker_baseos_images="docker.io/hyperledger/fabric-baseos:x86_64-0.4.2"
 
 rm -rf "$project"_*