-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
28 lines (28 loc) · 830 Bytes
/
docker-compose.yaml
File metadata and controls
28 lines (28 loc) · 830 Bytes
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
version: '3'
services:
web:
build: ./code/python-flask-server/
environment:
- NEO4J_AUTH=none
ports:
- "8080:8080"
- "8071:5000"
depends_on:
- "db"
db:
image: neo4j
environment:
- NEO4J_AUTH=none
# This sets java's heap size to 1G. If you get java.lang.OutOfMemoryError
# then you may need to increase this.
- _JAVA_OPTIONS="-Xmx16g"
ports:
- "7474:7474"
- "7473:7473"
- "7687:7687"
volumes:
# NOTE: if docker-compose is run under 'sudo' then $HOME will be 'root'
# Change path2neo to your local path
- /Users/srensi/Documents/GitHub/GNBR_api/data/neo4j/data:/data
- /Users/srensi/Documents/GitHub/GNBR_api/data/neo4j/import:/import
- /Users/srensi/Documents/GitHub/GNBR_api/data/neo4j/logs:/logs