-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompose.yml
77 lines (75 loc) · 1.49 KB
/
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
services:
volume-perm-job:
image: alpine
user: "root"
group_add:
- 1001
volumes:
- /opt/db:/opt/db
command: chown -R 1001:1001 /opt/db
networks:
net:
database:
image: neo4j:5.24.2
ports:
- 7474:7474
- 7687:7687
- 7473:7473
volumes:
- "/opt/db:/data"
user: 1001:1001
environment:
- NEO4J_AUTH=neo4j/${NEO4J_PASSWORD}
networks:
net:
ipv4_address: 172.18.0.20
restart: always
editor:
image: neo4jlabs/neodash:2.4.8
ports:
- 8081:5005
networks:
net:
ipv4_address: 172.18.0.21
restart: always
loader:
image: pythonloader
build:
context: sources
dockerfile: ../build/loader/Dockerfile
ports:
- 8080:5000
networks:
net:
ipv4_address: 172.18.0.22
restart: always
visualizer:
image: visualizer
build:
context: build/neodash
dockerfile: Dockerfile
ports:
- 8082:5005
environment:
- standalone=true
- standaloneProtocol=neo4j
- standaloneHost=${HOST_IP}
- standalonePort=7687
- standaloneDatabase=neo4j
- standaloneUsername=neo4j
- standalonePassword=${NEO4J_PASSWORD}
- standaloneDashboardName=Dashboard
- standaloneDashboardDatabase=neo4j
networks:
net:
ipv4_address: 172.18.0.23
restart: always
volumes:
db:
driver: local
networks:
net:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/24