@@ -43,7 +43,11 @@ Organizations:
43
43
Name: OrdererMSP
44
44
ID: OrdererMSP
45
45
MSPDir: crypto-config/peerOrganizations/orderer.example.com/msp
46
-
46
+ OrdererEndpoints:
47
+ - orderer0.group1.orderer.example.com:7030
48
+ - orderer1.group1.orderer.example.com:7031
49
+ - orderer2.group1.orderer.example.com:7032
50
+ - orderer3.group1.orderer.example.com:7033
47
51
Policies:
48
52
Readers:
49
53
Type: Signature
@@ -64,7 +68,11 @@ Organizations:
64
68
Name: Org1MSP
65
69
ID: Org1MSP
66
70
MSPDir: crypto-config/peerOrganizations/org1.example.com/msp
67
-
71
+ OrdererEndpoints:
72
+ - orderer0.group1.orderer.example.com:7030
73
+ - orderer1.group1.orderer.example.com:7031
74
+ - orderer2.group1.orderer.example.com:7032
75
+ - orderer3.group1.orderer.example.com:7033
68
76
Policies:
69
77
Readers:
70
78
Type: Signature
@@ -115,11 +123,7 @@ Application: &ApplicationDefaults
115
123
################################################################################
116
124
Orderer: & Group1Defaults
117
125
OrdererType: etcdraft
118
- Addresses:
119
- - orderer0.group1.orderer.example.com:7030
120
- - orderer1.group1.orderer.example.com:7031
121
- - orderer2.group1.orderer.example.com:7032
122
- - orderer3.group1.orderer.example.com:7033
126
+
123
127
EtcdRaft:
124
128
Consenters:
125
129
- Host: orderer0.group1.orderer.example.com
@@ -1521,12 +1525,12 @@ CHAINCODES_BASE_DIR=<absolute path>
1521
1525
COMPOSE_PROJECT_NAME=<name with timestamp >
1522
1526
LOGGING_LEVEL=debug
1523
1527
1524
- FABRIC_VERSION=3.0.0-beta
1525
- FABRIC_TOOLS_VERSION=3.0.0-beta
1528
+ FABRIC_VERSION=3.0.0
1529
+ FABRIC_TOOLS_VERSION=3.0.0
1526
1530
FABRIC_CA_VERSION=1.5.5
1527
1531
FABRIC_CA_POSTGRES_VERSION=14
1528
- FABRIC_CCENV_VERSION=3.0.0-beta
1529
- FABRIC_BASEOS_VERSION=3.0.0-beta
1532
+ FABRIC_CCENV_VERSION=3.0.0
1533
+ FABRIC_BASEOS_VERSION=3.0.0
1530
1534
FABRIC_JAVAENV_VERSION=2.5
1531
1535
FABRIC_NODEENV_VERSION=2.5
1532
1536
RECOMMENDED_NODE_VERSION=16
@@ -1920,7 +1924,7 @@ services:
1920
1924
1921
1925
cli.orderer.example.com:
1922
1926
container_name: cli.orderer.example.com
1923
- image: hyperledger /fabric-tools:\${ FABRIC_TOOLS_VERSION }
1927
+ image: ghcr.io/fablo-io /fabric-tools:\${ FABRIC_TOOLS_VERSION }
1924
1928
tty: true
1925
1929
environment:
1926
1930
- GOPATH=/opt/gopath
@@ -2146,7 +2150,7 @@ services:
2146
2150
2147
2151
cli.org1.example.com:
2148
2152
container_name: cli.org1.example.com
2149
- image: hyperledger /fabric-tools:\${ FABRIC_TOOLS_VERSION }
2153
+ image: ghcr.io/fablo-io /fabric-tools:\${ FABRIC_TOOLS_VERSION }
2150
2154
tty: true
2151
2155
environment:
2152
2156
- GOPATH=/opt/gopath
@@ -2305,7 +2309,7 @@ certsGenerate() {
2305
2309
exit 1
2306
2310
fi
2307
2311
2308
- docker run - i - d - w = " /" -- name $CONTAINER_NAME hyperledger / fabric - tools :" \$ {FABRIC_TOOLS_VERSION}" bash || removeContainer $CONTAINER_NAME
2312
+ docker run - i - d - w = " /" -- name $CONTAINER_NAME ghcr . io / fablo - io / fabric - tools :" \$ {FABRIC_TOOLS_VERSION}" bash || removeContainer $CONTAINER_NAME
2309
2313
docker cp " $CONFIG_PATH" $CONTAINER_NAME :/ fabric - config || removeContainer $CONTAINER_NAME
2310
2314
2311
2315
docker exec - i $CONTAINER_NAME cryptogen generate -- config = ./ fabric-config/ " $CRYPTO_CONFIG_FILE_NAME" || removeContainer $CONTAINER_NAME
@@ -2341,7 +2345,7 @@ genesisBlockCreate() {
2341
2345
exit 1
2342
2346
fi
2343
2347
2344
- docker run -i -d -w="/" --name $CONTAINER_NAME hyperledger /fabric-tools:"\${FABRIC_TOOLS_VERSION}" bash || removeContainer $CONTAINER_NAME
2348
+ docker run -i -d -w="/" --name $CONTAINER_NAME ghcr.io/fablo-io /fabric-tools:"\${FABRIC_TOOLS_VERSION}" bash || removeContainer $CONTAINER_NAME
2345
2349
docker cp "$CONFIG_PATH" $CONTAINER_NAME:/fabric-config || removeContainer $CONTAINER_NAME
2346
2350
2347
2351
docker exec -i $CONTAINER_NAME mkdir /config || removeContainer $CONTAINER_NAME
@@ -2378,7 +2382,7 @@ createChannelTx() {
2378
2382
--name $CONTAINER_NAME \\
2379
2383
-v "$CONFIG_PATH":/fabric-config \\
2380
2384
-v "$OUTPUT_PATH":/output \\
2381
- hyperledger /fabric-tools:"\${FABRIC_TOOLS_VERSION}" \\
2385
+ ghcr.io/fablo-io /fabric-tools:"\${FABRIC_TOOLS_VERSION}" \\
2382
2386
bash -c "mkdir -p /output && configtxgen --configPath /fabric-config -profile \${CONFIG_PROFILE} -outputBlock /output/$CHANNEL_NAME.pb -channelID \${CHANNEL_NAME}"
2383
2387
2384
2388
# shellcheck disable=SC2181
@@ -2417,7 +2421,7 @@ createNewChannelUpdateTx() {
2417
2421
exit 1
2418
2422
fi
2419
2423
2420
- docker run -i -d -w="/" --name $CONTAINER_NAME hyperledger /fabric-tools:"\${FABRIC_TOOLS_VERSION}" bash || removeContainer $CONTAINER_NAME
2424
+ docker run -i -d -w="/" --name $CONTAINER_NAME ghcr.io/fablo-io /fabric-tools:"\${FABRIC_TOOLS_VERSION}" bash || removeContainer $CONTAINER_NAME
2421
2425
docker cp "$CONFIG_PATH" $CONTAINER_NAME:/fabric-config || removeContainer $CONTAINER_NAME
2422
2426
2423
2427
docker exec -i $CONTAINER_NAME mkdir /config || removeContainer $CONTAINER_NAME
0 commit comments