mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 00:15:08 +00:00
new file: LandContract/application-typescript/src/Admin.js new file: LandContract/application-typescript/src/app.ts new file: LandContract/application-typescript/src/registerEnrollUser.js new file: LandContract/application-typescript/src/utils/AppUtil.ts new file: LandContract/application-typescript/src/utils/CAUtil.ts new file: LandContract/application-typescript/tsconfig.json new file: LandContract/application-typescript/tslint.json new file: chaincode-typescript/Dockerfile new file: chaincode-typescript/dist/Contract/landAsset.d.ts new file: chaincode-typescript/dist/Contract/landAsset.js new file: chaincode-typescript/dist/Contract/landAsset.js.map new file: chaincode-typescript/dist/Contract/landTransaction.d.ts new file: chaincode-typescript/dist/Contract/landTransaction.js new file: chaincode-typescript/dist/Contract/landTransaction.js.map new file: chaincode-typescript/dist/asset.d.ts new file: chaincode-typescript/dist/asset.js new file: chaincode-typescript/dist/asset.js.map new file: chaincode-typescript/dist/assetTransfer.d.ts new file: chaincode-typescript/dist/assetTransfer.js new file: chaincode-typescript/dist/assetTransfer.js.map new file: chaincode-typescript/dist/index.d.ts new file: chaincode-typescript/dist/index.js new file: chaincode-typescript/dist/index.js.map new file: chaincode-typescript/docker/docker-entrypoint.sh new file: chaincode-typescript/npm-shrinkwrap.json new file: chaincode-typescript/package.json new file: chaincode-typescript/src/Contract/Admin.js new file: chaincode-typescript/src/Contract/landAsset.ts new file: chaincode-typescript/src/Contract/landTransaction.ts new file: chaincode-typescript/src/Contract/registerEnrollUser.js new file: chaincode-typescript/src/Contract/userRequest.ts new file: chaincode-typescript/src/Contract/wallet/admin.id new file: chaincode-typescript/src/Contract/wallet/user123.id new file: chaincode-typescript/src/asset.ts new file: chaincode-typescript/src/assetTransfer.ts new file: chaincode-typescript/src/index.ts new file: chaincode-typescript/tsconfig.json new file: chaincode-typescript/tslint.json modified: test-network/compose/compose-ca.yaml modified: test-network/compose/compose-test-net.yaml modified: test-network/compose/docker/docker-compose-bft-test-net.yaml modified: test-network/compose/docker/docker-compose-test-net.yaml modified: test-network/configtx/configtx.yaml modified: test-network/network.sh modified: test-network/organizations/ccp-generate.sh modified: test-network/organizations/cryptogen/crypto-config-org2.yaml new file: test-network/organizations/cryptogen/crypto-config-org3.yaml new file: test-network/organizations/cryptogen/crypto-config-org4.yaml modified: test-network/organizations/fabric-ca/registerEnroll.sh new file: test-network_org4.zip
72 lines
2 KiB
YAML
72 lines
2 KiB
YAML
# Copyright IBM Corp. All Rights Reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
version: '3.7'
|
|
|
|
networks:
|
|
test:
|
|
name: fabric_test
|
|
|
|
services:
|
|
|
|
ca_org1:
|
|
image: hyperledger/fabric-ca:latest
|
|
labels:
|
|
service: hyperledger-fabric
|
|
environment:
|
|
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
|
|
- FABRIC_CA_SERVER_CA_NAME=ca-org1
|
|
- FABRIC_CA_SERVER_TLS_ENABLED=true
|
|
- FABRIC_CA_SERVER_PORT=7054
|
|
- FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=0.0.0.0:17054
|
|
ports:
|
|
- "7054:7054"
|
|
- "17054:17054"
|
|
command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
|
|
volumes:
|
|
- ../organizations/fabric-ca/org1:/etc/hyperledger/fabric-ca-server
|
|
container_name: ca_org1
|
|
networks:
|
|
- test
|
|
|
|
# ca_org2:
|
|
# image: hyperledger/fabric-ca:latest
|
|
# labels:
|
|
# service: hyperledger-fabric
|
|
# environment:
|
|
# - FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
|
|
# - FABRIC_CA_SERVER_CA_NAME=ca-org2
|
|
# - FABRIC_CA_SERVER_TLS_ENABLED=true
|
|
# - FABRIC_CA_SERVER_PORT=8054
|
|
# - FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=0.0.0.0:18054
|
|
# ports:
|
|
# - "8054:8054"
|
|
# - "18054:18054"
|
|
# command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
|
|
# volumes:
|
|
# - ../organizations/fabric-ca/org2:/etc/hyperledger/fabric-ca-server
|
|
# container_name: ca_org2
|
|
# networks:
|
|
# - test
|
|
|
|
ca_orderer:
|
|
image: hyperledger/fabric-ca:latest
|
|
labels:
|
|
service: hyperledger-fabric
|
|
environment:
|
|
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
|
|
- FABRIC_CA_SERVER_CA_NAME=ca-orderer
|
|
- FABRIC_CA_SERVER_TLS_ENABLED=true
|
|
- FABRIC_CA_SERVER_PORT=9054
|
|
- FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=0.0.0.0:19054
|
|
ports:
|
|
- "9054:9054"
|
|
- "19054:19054"
|
|
command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
|
|
volumes:
|
|
- ../organizations/fabric-ca/ordererOrg:/etc/hyperledger/fabric-ca-server
|
|
container_name: ca_orderer
|
|
networks:
|
|
- test
|