forked from opensemanticsearch/open-semantic-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.etl.test.yml
84 lines (75 loc) · 2.29 KB
/
docker-compose.etl.test.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
version: '3'
services:
# system under test (sut)
sut:
image: opensemanticsearch/open-semantic-etl
command: /usr/lib/python3/dist-packages/opensemanticetl/testdata/run_integrationtests.sh
build:
context: src/open-semantic-etl/
depends_on:
- apps
- rabbitmq
- solr
- tika
- tika-fakecache
- spacy-services
environment:
- OPEN_SEMANTIC_ETL_MQ_BROKER=amqp://rabbitmq
- OPEN_SEMANTIC_ETL_METADATA_SERVER=http://apps/search-apps/annotate/json
- OPEN_SEMANTIC_ETL_SOLR=http://solr:8983/solr/
- OPEN_SEMANTIC_ETL_TIKA_SERVER=http://tika:9998
- OPEN_SEMANTIC_ETL_TIKA_SERVER_FAKECACHE=http://tika-fakecache:9998
- OPEN_SEMANTIC_ETL_SPACY_SERVER=http://spacy-services:8080
- OMP_THREAD_LIMIT=1
volumes:
- test_cache_tesseract:/var/cache/tesseract
apps:
image: opensemanticsearch/open-semantic-search
build:
context: .
depends_on:
- rabbitmq
- solr
- tika
environment:
- SOLR_PHP_UI_SOLR_HOST=solr
- OPEN_SEMANTIC_ETL_MQ_BROKER=amqp://rabbitmq
- OPEN_SEMANTIC_ETL_SOLR=http://solr:8983/solr/
- OPEN_SEMANTIC_ETL_TIKA_SERVER=http://tika:9998
- OPEN_SEMANTIC_ETL_TIKA_SERVER_FAKECACHE=http://tika-fakecache:9998
# uncomment next two lines, if you want access the web UI at host port 8080
# ports:
# - "8080:80"
solr:
image: opensemanticsearch/solr
build:
context: src/solr.deb/
# uncomment next two lines, if you want access the Solr API and admin UI on host IP
# ports:
# - "8983:8983"
tika:
image: opensemanticsearch/tika-server
build:
context: src/tika-server.deb/
environment:
- OMP_THREAD_LIMIT=1
- TIKA_CONFIG=/etc/tika/tika-config-cache.xml
volumes:
- test_cache_tesseract:/var/cache/tesseract
tika-fakecache:
image: opensemanticsearch/tika-server
build:
context: src/tika-server.deb/
environment:
- OMP_THREAD_LIMIT=1
- TIKA_CONFIG=/etc/tika/tika-config-fakecache.xml
volumes:
- test_cache_tesseract:/var/cache/tesseract
spacy-services:
image: opensemanticsearch/spacy-services
build:
context: src/spacy-services.deb/src/spacy-services/
rabbitmq:
image: rabbitmq
volumes:
test_cache_tesseract: