-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
41 lines (38 loc) · 1.19 KB
/
docker-compose.yaml
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
version: '3'
services:
aggregator:
build: .
container_name: kba
environment:
# Make sure that you set NEO4J_AUTH to your chosen local Neo4j password!
- NEO4J_AUTH=${NEO4J_AUTH:-neo4j/password}
ports:
- "8080:8080"
depends_on:
- "blackboard"
networks:
- default
blackboard:
image: neo4j:3.3.4
container_name: blackboard
user: "1000"
environment:
# Make sure that you set NEO4J_AUTH to your chosen local Neo4j password!
- NEO4J_AUTH=${NEO4J_AUTH:-neo4j/password}
# This sets java's heap size to 1G. If you get java.lang.OutOfMemoryError
# then you may need to increase this.
- _JAVA_OPTIONS="-Xmx1g"
ports:
- "7474:7474"
- "7473:7473"
- "7687:7687"
#volumes:
# NOTE: if docker-compose is run under 'sudo' then $HOME will be 'root'
#- $HOME/neo4j/data:/data
#- $HOME/neo4j/import:/import
#- $HOME/neo4j/logs:/logs
networks:
- default
networks:
default:
driver: bridge