-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (52 loc) · 1.21 KB
/
docker-compose.yml
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
version: '3'
services:
orderer.org1.bcbvosy.com:
container_name: orderer.org1.bcbvosy.com
build:
context: .
dockerfile: ./docker/orderer/Dockerfile
ports:
- "5002:5002"
# network_mode: "host"
volumes:
- .:/code
ca.org1.bcbvosy.com:
container_name: ca.org1.bcbvosy.com
build:
context: .
dockerfile: ./docker/certificate_authority/Dockerfile
environment:
- ORDERER_IP=orderer.org1.bcbvosy.com
ports:
- "5001:5001"
# network_mode: "host"
volumes:
- .:/code
peer.org1.bcbvosy.com:
container_name: peer.org1.bcbvosy.com
build:
context: .
dockerfile: ./docker/peer/Dockerfile
environment:
- ORDERER_IP=orderer.org1.bcbvosy.com
- CA_IP=ca.org1.bcbvosy.com
ports:
- "5000:5000"
# network_mode: "host"
volumes:
- .:/code
depends_on:
- orderer.org1.bcbvosy.com
- ca.org1.bcbvosy.com
vosy.org1.bcbvosy.com:
container_name: vosy.org1.bcbvosy.com
build:
context: .
dockerfile: ./docker/vosy/Dockerfile
environment:
- HOST_IP=peer.org1.bcbvosy.com
ports:
- "8080:8080"
# network_mode: "host"
volumes:
- .:/code