-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
48 lines (42 loc) · 976 Bytes
/
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
version: '3.8'
services:
ruby:
build:
context: .
args:
RUBY_VERSION: '2.7'
volumes:
- bundle:/bundle
- .:/srv/ontoportal/ncbo_ontology_recommender
environment:
- BUNDLE_PATH=/bundle
- GOO_BACKEND_NAME=4store
- GOO_PORT=9000
- GOO_HOST=4store-ut
- REDIS_HOST=redis-ut
- REDIS_PORT=6379
- SOLR_HOST=solr-ut
- MGREP_HOST=mgrep-ut
- MGREP_PORT=55556
depends_on:
- solr-ut
- redis-ut
- 4store-ut
- mgrep-ut
command: "bundle exec rake test TESTOPTS='-v'"
solr-ut:
image: ontoportal/solr-ut:0.0.2
redis-ut:
image: redis
mgrep-ut:
image: ontoportal/mgrep:0.0.2
platform: linux/amd64
4store-ut:
image: bde2020/4store
platform: linux/amd64
command: >
bash -c "4s-backend-setup --segments 4 ontoportal_kb
&& 4s-backend ontoportal_kb
&& 4s-httpd -D -s-1 -p 9000 ontoportal_kb"
volumes:
bundle: