forked from EBISPOT/OLS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
121 lines (114 loc) · 3.34 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
109
110
111
112
113
114
115
116
117
118
119
120
121
services:
solr:
image: ebispot/ols-solr:latest
ulimits:
nofile:
soft: 65536
hard: 65536
environment:
- SOLR_HOME=/mnt/solr-config
# admin interface for debugging: open http://localhost:8983/solr/#/ in a browser
ports:
- 127.0.0.1:8983:8983
volumes:
- ols-solr-data:/var/solr
- ./ols-solr/src/main/solr-5-config:/mnt/solr-config
command: ["-Dsolr.solr.home=/mnt/solr-config", "-Dsolr.data.dir=/var/solr", "-f"]
mongo:
image: mongo:3.2.9
#ports:
# - 27017:27017
volumes:
- ols-mongo-data:/data/db
command:
- "--quiet"
# For easier development, expect olsync as a sibling directory. Move to Git submodule later.
olsync:
build: ../olsync
environment:
- OLSYNC_API_URLS=${OLSYNC_API_URLS}
- OLSYNC_CONFIG_FILE=/app/obo-config.yaml
- OLSYNC_MAX_ONTOLOGIES=${OLSYNC_MAX_ONTOLOGIES}
volumes:
- olsync:/app
maven-builder:
build: .
volumes:
- package:/package
ols-config-importer:
build: ./ols-apps/ols-config-importer
ulimits:
nofile:
soft: 65536
hard: 65536
environment:
- spring.data.mongodb.host=mongo
- ols.ontology.config=file:///config/ols-config.yaml
- ols.obofoundry.ontology.config=file:///olsync/obo-config.yaml
volumes:
- olsync:/olsync
- ./config:/config
- package:/package
depends_on:
mongo:
condition: service_started
olsync:
condition: service_completed_successfully
restart: on-failure:2
ols-indexer:
build: ./ols-apps/ols-indexer
ulimits:
nofile:
soft: 65536
hard: 65536
environment:
- spring.data.solr.host=http://solr:8983/solr
- spring.data.mongodb.host=mongo
volumes:
- ols-neo4j-data:/mnt/neo4j
- ols-downloads:/mnt/downloads
- package:/package
- ./ontology:/ontology
depends_on:
ols-config-importer:
condition: service_completed_successfully
ols-web:
build: ./ols-web
ulimits:
nofile:
soft: 65536
hard: 65536
depends_on:
ols-indexer:
condition: service_completed_successfully
links:
- solr
- mongo
environment:
- ols.customisation.debrand=true
- spring.data.solr.host=http://solr:8983/solr
- spring.data.mongodb.host=mongo
- ols.customisation.logo=/img/logo-blue.svg
- ols.customisation.title=Anthropological Notation Ontology
- ols.customisation.short-title=ANNO
- ols.customisation.web=https://annosaxfdm.de
- ols.customisation.twitter=
- ols.customisation.org=
- ols.customisation.backgroundImage=/img/background_trial.jpg
- ols.customisation.backgroundColor=#0080FF
- ols.customisation.issuesPage=https://github.com/annosaxfdm/ols/issues
- ols.customisation.supportMail=
- OLS_HOME=/mnt/
volumes:
- ols-neo4j-data:/mnt/neo4j
- ols-downloads:/mnt/downloads
- package:/package
ports:
- ${OLS_WEB_PORT}:8080
volumes:
ols-solr-data:
ols-mongo-data:
ols-neo4j-data:
ols-downloads:
package:
olsync: