forked from EBISPOT/OLS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (45 loc) · 1.05 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
version: '2'
services:
solr:
image: ebispot/ols-solr:latest
environment:
- SOLR_HOME=/mnt/solr-config
ports:
- 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:
- mongod
ols-web:
build:
context: .
dockerfile: ols-web/Dockerfile
depends_on:
- solr
- mongo
links:
- solr
- mongo
environment:
- spring.data.solr.host=http://solr:8983/solr
- spring.data.mongodb.host=mongo
- OLS_HOME=/mnt/
volumes:
- ols-neo4j-data:/mnt/neo4j
ports:
- 8080:8080
volumes:
ols-solr-data:
external: true
ols-mongo-data:
external: true
ols-neo4j-data:
external: true