-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
67 lines (64 loc) · 3 KB
/
docker-compose.yaml
File metadata and controls
67 lines (64 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '2'
networks:
test:
external:
name: fabric_test
services:
admin-org1:
image: ghcr.io/akachain/akc-admin/master:2.2.1
environment:
- ORGS=orderer org1
- DOMAINS=example.com org1.example.com
- NODE_ENV=development
- GOPATH=/opt/gopath
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
- FABRIC_LOGGING_SPEC=INFO
- CORE_PEER_ID=cli
- CORE_PEER_ADDRESS=peer0.org1.example.com:7051
- CORE_PEER_LOCALMSPID=Org1MSP
- CORE_PEER_TLS_ENABLED=true
- CORE_PEER_TLS_CERT_FILE=/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
- CORE_PEER_TLS_KEY_FILE=/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key
- CORE_PEER_TLS_ROOTCERT_FILE=/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
- CORE_PEER_MSPCONFIGPATH=/shared/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/
- ORDERER_CA=/shared/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
ports:
- "4001:4001"
volumes:
- ./example/organizations:/shared/crypto-config
- ./example/channel-artifacts:/shared/channel-artifacts
- ./example/artifacts/:/data/app/artifacts/
- ./example/chaincode:/chaincodes
- ./example/wallet:/data/app/wallet
container_name: admin
networks:
- test
admin-org2:
image: ghcr.io/akachain/akc-admin/master:2.2.1
environment:
- ORGS=orderer org2
- DOMAINS=example.com org2.example.com
- NODE_ENV=development
- GOPATH=/opt/gopath
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
- FABRIC_LOGGING_SPEC=INFO
- CORE_PEER_ID=cli
- CORE_PEER_ADDRESS=peer0.org2.example.com:7051
- CORE_PEER_LOCALMSPID=Org2MSP
- CORE_PEER_TLS_ENABLED=true
- CORE_PEER_TLS_CERT_FILE=/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.crt
- CORE_PEER_TLS_KEY_FILE=/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.key
- CORE_PEER_TLS_ROOTCERT_FILE=/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
- CORE_PEER_MSPCONFIGPATH=/shared/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/
- ORDERER_CA=/shared/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
ports:
- "4001:4001"
volumes:
- ./example/organizations:/shared/crypto-config
- ./example/channel-artifacts:/shared/channel-artifacts
- ./example/artifacts/:/data/app/artifacts/
- ./example/chaincode:/chaincodes
- ./example/wallet:/data/app/wallet
container_name: admin
networks:
- test