forked from ipfs-search/ipfs-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (86 loc) · 2.15 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
version: '3'
services:
rabbitmq:
image: library/rabbitmq:management-alpine
ports:
- 15672:15672
- 5672:5672
deploy:
restart_policy:
condition: on-failure
ipfs:
image: ipfs/go-ipfs:v0.13.1
ports:
- 4001:4001
- 5001:5001
- 8080:8080
command: ["daemon", "--enable-gc","--migrate=true", "--agent-version-suffix=docker"]
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-inject-server:
build: ./extractServer
depends_on:
- ipfs
environment:
- IPFS_GATEWAY_URL=http://ipfs:8080
ports:
- 9999:9999
volumes:
- ./out:/out
deploy:
restart_policy:
condition: on-failure
ipfs-crawler:
build: .
depends_on:
- rabbitmq
- ipfs
- tika-extractor
- jaeger
- ipfs-inject-server
environment:
- TIKA_EXTRACTOR=http://tika-extractor:8081
- IPFS_API_URL=http://ipfs:5001
- IPFS_GATEWAY_URL=http://ipfs:8080
- ELASTICSEARCH_URL=http://130.245.145.107:9200
- AMQP_URL=amqp://guest:guest@rabbitmq:5672/
- OTEL_EXPORTER_JAEGER_ENDPOINT=http://jaeger:14268/api/traces
- OTEL_TRACE_SAMPLER_ARG=1.0
- SERVER_URL=ipfs-inject-server:9999
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://130.245.145.107:9200
- ES_TAGS_AS_FIELDS_ALL=true
ports:
- "14268:14268" # HTTP Collector
- "16686:16686" # Frontend
command: ["--es.num-shards=1", "--es.num-replicas=0"]
deploy:
restart_policy:
condition: on-failure