-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
42 lines (38 loc) · 984 Bytes
/
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
version: '3.7'
services:
neo4j:
image: neo4j:4.2.3-enterprise
container_name: "neo-gds"
volumes:
- $HOME/graph_data/my_data:/data
- $HOME/graph_data/my_data:/var/lib/neo4j/import
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/1234
- NEO4JLABS_PLUGINS=["apoc", "graph-data-science"]
- apoc.import.file.enabled=true
- apoc.export.file.enabled=true
- apoc.export.json.all=true
# Comment these lines if you do not have the memory available
- NEO4J_dbms_memory_pagecache_size=4G
- NEO4j_dbms_memory_heap_initial__size=4G
- NEO4J_dbms_memory_heap_max__size=8G
networks:
- neo_net
jupyterlab:
build:
context: .
dockerfile: Dockerfile
ports:
- "8888:8888"
volumes:
- ./notebooks:/home/jovyan/work
links:
- neo4j
networks:
- neo_net
networks:
neo_net: