-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
56 lines (56 loc) · 1.53 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
version: '2'
services:
solr:
image: ebispot/ols-solr:latest
environment:
- SOLR_HOME=/mnt/solr-config
ports:
- 8983:8983
volumes:
- oxo-solr-data:/var/solr
- ./solr-config:/mnt/solr-config
command: ["-Dsolr.solr.home=/mnt/solr-config", "-Dsolr.data.dir=/var/solr", "-Dsolr.log=/var/solr/logs", "-f"]
neo4j:
image: neo4j:3.1.1
environment:
# - NEO4J_HEAP_MEMORY=10g # configure the heap memory
# - NEO4J_dbms_memory_heap_maxSize=8g
- NEO4J_AUTH=neo4j/dba
cap_add:
- SYS_RESOURCE
ports:
- 7474:7474
- 7687:7687
volumes:
- oxo-neo4j-import:/var/lib/neo4j/import
- oxo-neo4j-data:/data
oxo-web:
build:
context: .
dockerfile: oxo-web/Dockerfile
depends_on:
- neo4j
- solr
links:
- neo4j
- solr
environment:
- spring.datasource.url=jdbc:hsqldb:file:/mnt/hsqldb
- oxo.neo.driver=org.neo4j.ogm.drivers.http.driver.HttpDriver
- oxo.neo.uri=http://neo4j:dba@neo4j:7474
- spring.data.solr.host=http://solr:8983/solr
volumes:
- oxo-hsqldb:/mnt/hsqldb
ports:
- 8080:8080
volumes:
oxo-neo4j-import:
external: true
oxo-neo4j-data:
external: true
oxo-mongo-data:
external: true
oxo-solr-data:
external: true
oxo-hsqldb:
external: true