Skip to content

Commit 44f7334

Browse files
committed
Add CA to test composition and configure for testing
Exposes the peer's ports properly and runs in -devmode Change-Id: Idb42f130b9163ef350d277a5c25a2b73c75af22e Signed-off-by: Greg Haskins <[email protected]>
1 parent 00e78b3 commit 44f7334

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

test/docker-compose.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
ca:
2+
image: hyperledger/fabric-ca
3+
ports:
4+
- 7054:7054
5+
16
orderer:
27
image: hyperledger/fabric-orderer
38
environment:
@@ -9,8 +14,8 @@ orderer:
914
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
1015
- ORDERER_GENERAL_LISTENPORT=7050
1116
- ORDERER_RAMLEDGER_HISTORY_SIZE=100
12-
expose:
13-
- 7050
17+
ports:
18+
- 7050:7050
1419

1520
vp:
1621
image: hyperledger/fabric-peer
@@ -19,9 +24,9 @@ vp:
1924
ports:
2025
- 7051:7051
2126
- 7053:7053
22-
- 7054:7054
2327
environment:
2428
- CORE_PEER_ADDRESSAUTODETECT=true
2529
- CORE_PEER_COMMITTER_LEDGER_ORDERER=orderer:7050
2630
volumes:
2731
- /var/run/docker.sock:/var/run/docker.sock
32+
command: peer node start --peer-chaincodedev

0 commit comments

Comments
 (0)