-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 886 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (40 loc) · 886 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.8'
services:
faiss-service:
build:
context: ./faiss-service
ports:
- "8001:8001"
volumes:
- ./faiss-service/index_store:/app/index_store
- ./faiss-service/models:/app/models
environment:
- SENTENCE_TRANSFORMERS_HOME=/app/models
restart: always
neo4j:
image: neo4j:5.12.0
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_AUTH=neo4j/HelloWorld@4321
volumes:
- ./data/neo4j:/data
restart: always
backend:
build:
context: ./project-root
ports:
- "80:3000"
volumes:
- ./frontend:/usr/src/frontend
environment:
- FAISS_URL=http://faiss-service:8001
- NEO4J_URL=bolt://neo4j:7687
- PORT=3000
- PORT=3000
- GROQ_API_KEY=your-groq-key
depends_on:
- faiss-service
- neo4j
restart: always