forked from cj2001/nodes2021_kg_workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (36 loc) · 877 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
version: '3.7'
services:
neo4j:
image: neo4j:4.2.7-enterprise
container_name: "neo-gds"
volumes:
- $HOME/graph_data/nodes_svo_graph:/data
- ./data:/var/lib/neo4j/import
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/kgDemo
- NEO4JLABS_PLUGINS=["apoc", "graph-data-science"]
- apoc.import.file.enabled=true
- NEO4J_dbms_memory_pagecache_size=4G
- NEO4j_dbms_memory_heap_initial__size=4G
- NEO4J_dbms_memory_heap_max__size=8G
- apoc.export.file.enabled=true
networks:
- odsc_net
jupyterlab:
build:
context: .
dockerfile: Dockerfile
ports:
- "8888:8888"
volumes:
- ./notebooks:/home/jovyan/work
links:
- neo4j
networks:
- odsc_net
networks:
odsc_net: