-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
63 lines (62 loc) · 1.43 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
58
59
60
61
62
63
version: '2'
services:
ipfsA:
image: ipfs/go-ipfs
container_name: "ipfsA"
ports:
- 4001:4001
- 5001:5001
volumes:
- ./ipfsData/ipfsA:/data/ipfs/
clusterA:
image: ipfs/ipfs-cluster:latest
container_name: "ipfs-cluster-A"
environment:
IPFS_API: "/ip4/${HOST_IP}/tcp/5001"
IPFS_BOOTSTRAP_RM_ALL: "true"
ports:
- 7080:8080
depends_on:
- ipfsA
volumes:
- ./ipfsData/clusterA:/data/ipfs-cluster
ipfsB:
image: ipfs/go-ipfs
container_name: "ipfsB"
ports:
- 6001:4001
- 7001:5001
volumes:
- ./ipfsData/ipfsB:/data/ipfs/
clusterB:
image: ipfs/ipfs-cluster:latest
container_name: "ipfs-cluster-B"
environment:
IPFS_API: "/ip4/${HOST_IP}/tcp/7001"
IPFS_BOOTSTRAP_RM_ALL: "true"
ports:
- 8080:8080
depends_on:
- ipfsB
volumes:
- ./ipfsData/clusterB:/data/ipfs-cluster
ipfsC:
image: ipfs/go-ipfs
container_name: "ipfsC"
ports:
- 8001:4001
- 9001:5001
volumes:
- ./ipfsData/ipfsC:/data/ipfs/
clusterC:
image: ipfs/ipfs-cluster:latest
container_name: "ipfs-cluster-C"
environment:
IPFS_API: "/ip4/${HOST_IP}/tcp/9001"
IPFS_BOOTSTRAP_RM_ALL: "true"
ports:
- 9080:8080
depends_on:
- ipfsC
volumes:
- ./ipfsData/clusterC:/data/ipfs-cluster