-
Notifications
You must be signed in to change notification settings - Fork 48
/
docker-compose.yml
85 lines (77 loc) · 1.5 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
version: "3.9"
services:
neo4j:
image: neo4j:latest
container_name: neo4j
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_AUTH=neo4j/pleaseletmein
- NEO4J_PLUGINS=["apoc"]
networks:
- cognee_backend
cognee:
container_name: cognee
networks:
- cognee_backend
build:
context: ./
volumes:
- "./:/app"
- ./.data:/app/.data
environment:
- HOST=0.0.0.0
- ENVIRONMENT=local
- PYTHONPATH=.
profiles: ["exclude-from-up"]
ports:
- 8000:8000
- 443:443
- 80:80
- 50051:50051
- 5678:5678
# - 5432:5432
depends_on:
- postgres
- neo4j
- frontend
deploy:
resources:
limits:
cpus: "4.0"
memory: 8GB
frontend:
container_name: frontend
build:
context: ./cognee-frontend
dockerfile: Dockerfile
volumes:
- "./cognee-frontend:/app"
ports:
- "3000:3000"
networks:
- cognee_backend
postgres:
image: postgres
container_name: postgres
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_USER=bla
- POSTGRES_PASSWORD=bla
- POSTGRES_DB=bubu
networks:
- cognee_backend
ports:
- "5432:5432"
falkordb:
image: falkordb/falkordb:edge
container_name: falkordb
ports:
- "6379:6379"
- "3001:3000"
networks:
- cognee_backend
networks:
cognee_backend:
name: cognee_backend