Skip to content

Commit

Permalink
Add CA's to docker test network (#124)
Browse files Browse the repository at this point in the history
The CA's are not part of the `test` docker network. So
applications written and hosted on the `test` network
cannot interact with the CA

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
  • Loading branch information
Brett Logan committed Mar 20, 2020
1 parent faac18e commit e17574d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test-network/docker/docker-compose-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

version: '2'

networks:
test:

services:

ca_org1:
Expand All @@ -20,6 +23,8 @@ services:
volumes:
- ../organizations/fabric-ca/org1:/etc/hyperledger/fabric-ca-server
container_name: ca_org1
networks:
- test

ca_org2:
image: hyperledger/fabric-ca:$IMAGE_TAG
Expand All @@ -34,6 +39,8 @@ services:
volumes:
- ../organizations/fabric-ca/org2:/etc/hyperledger/fabric-ca-server
container_name: ca_org2
networks:
- test

ca_orderer:
image: hyperledger/fabric-ca:$IMAGE_TAG
Expand All @@ -48,3 +55,5 @@ services:
volumes:
- ../organizations/fabric-ca/ordererOrg:/etc/hyperledger/fabric-ca-server
container_name: ca_orderer
networks:
- test

0 comments on commit e17574d

Please sign in to comment.