-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
93 lines (91 loc) · 1.96 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: "3.5"
networks:
mcs:
name: mcs
services:
benchmark-app:
build:
context: .
dockerfile: app/benchmark/Dockerfile
container_name: mcs-benchmark-app
image: tetherlessworld/mcs-benchmark-app
networks:
- mcs
ports:
- 127.0.0.1:8080:80
restart: unless-stopped
volumes:
- ./data/kg:/data/kg
kg-app:
build:
context: .
dockerfile: app/kg/Dockerfile
container_name: mcs-kg-app
image: tetherlessworld/mcs-kg-app
networks:
- mcs
ports:
- 127.0.0.1:8080:80
restart: unless-stopped
volumes:
- ./data/kg:/data
kg-app-isi:
build:
args:
BASE_HREF: "/mcs-cskg/"
context: .
dockerfile: app/kg/Dockerfile
container_name: mcs-kg-app
environment:
BASE_HREF: "/mcs-cskg/"
image: tetherlessworld/mcs-kg-app
networks:
- mcs
ports:
- 0.0.0.0:8383:80
restart: unless-stopped
volumes:
- ./data/kg:/data
nginx-isi:
build:
context: nginx-isi
dockerfile: Dockerfile
container_name: mcs-nginx-isi
networks:
- mcs
ports:
- 127.0.0.1:8081:80
restart: unless-stopped
neo4j:
container_name: mcs-neo4j
environment:
NEO4J_AUTH: "neo4j/nC1aB4mji623s2Zs"
NEO4JLABS_PLUGINS: "[\"apoc\",\"graph-data-science\"]"
NEO4J_dbms_memory_pagecache_size: "8G"
NEO4J_dbms_memory_heap_max__size: "8G"
image: neo4j:4.0.4
networks:
- mcs
ports:
- 7474:7474 # HTTP
- 7687:7687 # Bolt
restart: unless-stopped
volumes:
- neo4j-data:/data
postgres:
container_name: mcs-postgres
environment:
POSTGRES_USER: "mcs"
POSTGRES_PASSWORD: "7EAdu7jJvZNxxrNZ"
POSTGRES_DB: "kg"
image: library/postgres:12.4
networks:
- mcs
ports:
- 127.0.0.1:5432:5432
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
volumes:
neo4j-data:
postgres-data: