-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (39 loc) · 850 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (39 loc) · 850 Bytes
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
version: "3.9"
networks:
gradvek_network:
driver: bridge
services:
neo4j:
build: ./neo4j
image: gradvek_neo4j
mem_limit: 8g
user: "${CURRENT_UID}:${CURRENT_GID}"
ports:
- "7474:7474"
- "7687:7687"
volumes:
- ./neo4j/data:/data
- ./neo4j/logs:/logs
- ./neo4j/import:/var/lib/neo4j/import
- ./neo4j/plugins:/plugins
networks:
- gradvek_network
backend:
build: ./backend
image: gradvek_backend
mem_limit: 3g
command: python manage.py runserver 0.0.0.0:8000
ports:
- "8000:8000"
environment:
- NEO4J_DOCKER_URL=bolt://neo4j:gradvek1@neo4j:7687
networks:
- gradvek_network
frontend:
build: ./frontend
image: gradvek_frontend
mem_limit: 1g
ports:
- "3000:3000"
networks:
- gradvek_network