-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·78 lines (78 loc) · 1.91 KB
/
docker-compose.yml
File metadata and controls
executable file
·78 lines (78 loc) · 1.91 KB
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
version: '3'
services:
nlp:
image: librairy/nlp:1.3
environment:
- REST_PATH=/
- JAVA_OPTS=-Xmx1024m
jrc-en-model:
image: librairy/jrc-en-model:1.3
ports:
- "8085:7777"
environment:
- REST_PATH=/
- NLP_ENDPOINT=nlp
- JAVA_OPTS=-Xmx128m
jrc-es-model:
image: librairy/jrc-es-model:1.3
ports:
- "8086:7777"
environment:
- REST_PATH=/
- NLP_ENDPOINT=nlp
- JAVA_OPTS=-Xmx128m
jrc-fr-model:
image: librairy/jrc-fr-model:1.3
ports:
- "8087:7777"
environment:
- REST_PATH=/
- NLP_ENDPOINT=nlp
- JAVA_OPTS=-Xmx128m
jrc-de-model:
image: librairy/jrc-de-model:1.4
ports:
- "8088:7777"
environment:
- REST_PATH=/
- NLP_ENDPOINT=nlp
- JAVA_OPTS=-Xmx128m
solr:
image: solr:7.7
ports:
- "8983:8983"
volumes:
- ./target/solr-data:/opt/solr/server/solr/mycores
- ./src/main/banana:/opt/solr/server/solr-webapp/webapp/banana
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- documents
environment:
- SOLR_JAVA_MEM=-Xms512m -Xmx512m
librairy-api:
image: librairy/api:1.3
ports:
- "8081:7777"
environment:
- LIBRAIRY_API_USERS=oeg:oeg2018
- JAVA_OPTS=-Xmx128m
- REST_PATH=/librairy-api
volumes:
- ./tmp:/librairy
- /var/run/docker.sock:/var/run/docker.sock
librairy-keywords:
image: librairy/keywords:0.1
search-api:
image: librairy/search-api:1.3.0
ports:
- "8080:7777"
environment:
- LIBRAIRY_API_USERNAME=oeg
- LIBRAIRY_API_PASSWORD=oeg2018
- LIBRAIRY_API_ENDPOINT=http://librairy-api:7777/librairy-api
- KEYWORD_ENDPOINT=http://librairy-keywords:5000/nlp/keywords
- MODEL_ENDPOINT=http://jrc-%%-model:7777
- SOLR_ENDPOINT=http://solr:8983/solr/documents
- JAVA_OPTS=-Xmx128m
- REST_PATH=/search-api