-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (59 loc) · 1.66 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
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.4.24
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.customisation.logo=${LOGO}
- ols.customisation.title=${TITLE}
- ols.customisation.short-title=${SHORT_TITLE}
- ols.customisation.web=${WEB}
- ols.customisation.twitter=${TWITTER}
- ols.customisation.org=${ORG}
- ols.customisation.backgroundImage=${BACKGROUND_IMAGE}
- ols.customisation.backgroundColor=${BACKGROUND_COLOR}
- ols.customisation.issuesPage=${ISSUES_PAGE}
- ols.customisation.supportMail=${SUPPORT_MAIL}
- ols.downloads.folder=/mnt/downloads
- OLS_HOME=/mnt/
volumes:
- ols-neo4j-data:/mnt/neo4j
- ols-downloads:/mnt/downloads
ports:
- 8080:8080
volumes:
ols-solr-data:
external: true
ols-mongo-data:
external: true
ols-neo4j-data:
external: true
ols-downloads:
external: true