forked from THRUSTDeltaV/deltasearch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
108 lines (108 loc) · 2.58 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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: '3'
services:
rabbitmq:
image: library/rabbitmq:management-alpine
ports:
- 15672:15672
- 5672:5672
deploy:
restart_policy:
condition: on-failure
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.8.1
ports:
- 9200:9200
- 9300:9300
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
ulimits:
memlock:
soft: -1
hard: -1
deploy:
restart_policy:
condition: on-failure
kibana:
image: docker.elastic.co/kibana/kibana-oss:7.8.1
depends_on:
- elasticsearch
ports:
- 5601:5601
deploy:
restart_policy:
condition: on-failure
ipfs:
image: ipfs/go-ipfs:v0.8.0
ports:
- 4001:4001
- 5001:5001
- 8080:8080
deploy:
restart_policy:
condition: on-failure
tika-extractor:
image: ipfssearch/tika-extractor:latest
ports:
- 8081:8081
depends_on:
- ipfs
deploy:
restart_policy:
condition: on-failure
ipfs-crawler:
build: .
depends_on:
- rabbitmq
- elasticsearch
- ipfs
- tika-extractor
- jaeger
environment:
- TIKA_EXTRACTOR=http://tika-extractor:8081
- IPFS_API_URL=http://ipfs:5001
- IPFS_GATEWAY_URL=http://ipfs:8080
- ELASTICSEARCH_URL=http://elasticsearch:9200
- AMQP_URL=amqp://guest:guest@rabbitmq:5672/
- OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger:14268/api/traces
- OTEL_TRACE_SAMPLER_ARG=1.0
deploy:
restart_policy:
condition: on-failure
ipfs-search-api:
image: ipfssearch/ipfs-search-api:latest
ports:
- 9615:9615
depends_on:
- elasticsearch
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
deploy:
restart_policy:
condition: on-failure
ipfs-sniffer:
image: ipfssearch/ipfs-sniffer:latest
depends_on:
- rabbitmq
- jaeger
environment:
- AMQP_URL=amqp://guest:guest@rabbitmq:5672/
- OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger:14268/api/traces
deploy:
restart_policy:
condition: on-failure
jaeger:
image: jaegertracing/all-in-one
environment:
- SPAN_STORAGE_TYPE=elasticsearch
- ES_SERVER_URLS=http://elasticsearch:9200
- ES_TAGS_AS_FIELDS_ALL=true
depends_on:
- elasticsearch
ports:
- "14268:14268" # HTTP Collector
- "16686:16686" # Frontend
command: ["--es.num-shards=1", "--es.num-replicas=0"]
deploy:
restart_policy:
condition: on-failure