-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathdocker-compose-ipfscluster.yml
92 lines (84 loc) · 1.95 KB
/
docker-compose-ipfscluster.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: '3'
services:
mahuta:
image: gjeanmart/mahuta
ports:
- "8040:8040"
depends_on:
- ipfs0
- ipfs1
- ipfs-cluster0
- ipfs-cluster1
- elasticsearch
environment:
WAIT_HOSTS: elasticsearch:9300, ipfs0:5001, ipfs-cluster0:9094
LOG_LEVEL: TRACE
MAHUTA_ELASTICSEARCH_HOST: elasticsearch
MAHUTA_ELASTICSEARCH_PORT: 9300
MAHUTA_IPFS_HOST: ipfs0
MAHUTA_IPFS_PORT: 5001
MAHUTA_IPFS_REPLICAIPFSCLUSTER_0_HOST: ipfs-cluster0
MAHUTA_IPFS_REPLICAIPFSCLUSTER_0_PORT: 9094
networks:
- default
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.0
ports:
- "9200:9200"
- "9300:9300"
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
networks:
- default
ipfs0:
image: ipfs/go-ipfs
ports:
- "4001:4001"
- "5001:5001"
- "8081:8080"
networks:
- default
ipfs1:
image: ipfs/go-ipfs
ports:
- "4101:4001"
- "5101:5001"
- "8181:8080"
networks:
- default
ipfs-cluster0:
image: ipfs/ipfs-cluster
depends_on:
- ipfs0
environment:
CLUSTER_SECRET: 1aebe6d1ff52d96241e00d1abbd1be0743e3ccd0e3f8a05e3c8dd2bbbddb7b93
IPFS_API: /dns4/ipfs0/tcp/5001
ports:
- "9094:9094"
- "9095:9095"
- "9096:9096"
networks:
- default
ipfs-cluster1:
image: ipfs/ipfs-cluster
depends_on:
- ipfs1
- ipfs-cluster0
environment:
CLUSTER_SECRET: 1aebe6d1ff52d96241e00d1abbd1be0743e3ccd0e3f8a05e3c8dd2bbbddb7b93
IPFS_API: /dns4/ipfs1/tcp/5001
ports:
- "9194:9094"
- "9195:9095"
- "9196:9096"
networks:
- default