mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 08:15:08 +00:00
Add CA's to docker test network (#124)
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>
This commit is contained in:
parent
faac18e6da
commit
e17574d28c
1 changed files with 9 additions and 0 deletions
|
|
@ -5,6 +5,9 @@
|
|||
|
||||
version: '2'
|
||||
|
||||
networks:
|
||||
test:
|
||||
|
||||
services:
|
||||
|
||||
ca_org1:
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -48,3 +55,5 @@ services:
|
|||
volumes:
|
||||
- ../organizations/fabric-ca/ordererOrg:/etc/hyperledger/fabric-ca-server
|
||||
container_name: ca_orderer
|
||||
networks:
|
||||
- test
|
||||
|
|
|
|||
Loading…
Reference in a new issue