-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
52 lines (47 loc) · 973 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
42
43
44
45
46
47
48
49
50
51
52
---
version: '3.5'
volumes:
neo4j:
networks:
backend:
services:
neo4j:
image: neo4j:4.4.2
container_name: neo4j
restart: unless-stopped
networks:
- backend
ports:
- 7474:7474
- 7687:7687
volumes:
- neo4j:/data
- ./docker/neo4j/plugins:/var/lib/neo4j/plugins
environment:
- NEO4J_AUTH=neo4j/epagneul
- NEO4J_dbms_security_procedures_unrestricted=algo.*,gds.*,apoc.*
- NEO4J_apoc_import_file_enabled=true
backend:
build:
context: ./backend
container_name: backend
restart: unless-stopped
networks:
- backend
volumes:
- ./backend/epagneul:/opt/backend/epagneul:ro
ports:
- 6327:8000
depends_on:
- neo4j
frontend:
build:
context: ./frontend
restart: unless-stopped
container_name: frontend
networks:
- backend
volumes:
- ./frontend/src:/opt/frontend/src:ro
ports:
- 8080:8080