forked from neo4j-labs/llm-graph-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (49 loc) · 1.32 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
version: '3'
services:
backend:
# env_file:
# - path: ./backend/.env
# required: false
build:
context: ./backend
dockerfile: Dockerfile
volumes:
- ./backend:/app
environment:
- NEO4J_URI=${NEO4J_URI-neo4j://database:7687}
- NEO4J_PASSWORD=${NEO4J_PASSWORD-password}
- NEO4J_USERNAME=${NEO4J_USERNAME-neo4j}
- OPENAI_API_KEY=${OPENAI_API_KEY-}
- DIFFBOT_API_KEY=${DIFFBOT_API_KEY-}
- EMBEDDING_MODEL=${EMBEDDING_MODEL-text-embedding-ada-002}
- LANGCHAIN_ENDPOINT=${LANGCHAIN_ENDPOINT-"https://api.smith.langchain.com"}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2-true}
- LANGCHAIN_PROJECT=${LANGCHAIN_PROJECT}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- KNN_MIN_SCORE = ${KNN_MIN_SCORE-"0.94"}
- IS_EMBEDDING = ${IS_EMBEDDING-true}
container_name: backend
ports:
- "8000:8000"
networks:
- net
frontend:
depends_on:
- backend
build:
context: ./frontend
dockerfile: Dockerfile
volumes:
- ./frontend:/app
- /app/node_modules
environment:
- BACKEND_API_URL=${BACKEND_API_URL-}
- BLOOM_URL=${BLOOM_URL}
- REACT_APP_SOURCES=${REACT_APP_SOURCES}
container_name: frontend
ports:
- "5173:5173"
networks:
- net
networks:
net: