-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
63 lines (60 loc) · 1.88 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
version: '3.8'
services:
sukoon-backend:
build: .
ports:
- "8002:8001" # 8001 is our internal port
volumes:
- .:/app
- ./data:/app/data # For any data files
- ./storage:/app/storage # For vector store persistence
environment:
- PYTHONPATH=/app
- HOST=0.0.0.0
- PORT=8001
# Add your other environment variables here
- OPENAI_API_KEY=${OPENAI_API_KEY}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- PORTKEY_API_KEY=${PORTKEY_API_KEY}
- PORTKEY_VIRTUAL_KEY=${PORTKEY_VIRTUAL_KEY}
- PORTKEY_VIRTUAL_KEY_A=${PORTKEY_VIRTUAL_KEY_A}
restart: unless-stopped
sukoon-frontend:
build: ./frontend-vite # ./sukoon-frontend for earlier version
# build:
# context: ./frontend-vite
# args:
# SUPABASE_API_KEY: ${SUPABASE_API_KEY}
# SUPABASE_AUTHORIZATION_TOKEN: ${SUPABASE_AUTHORIZATION_TOKEN}
# BACKEND_ENDPOINT: ${BACKEND_ENDPOINT}
ports:
- "3002:80" # "3002:3000" for earlier version
restart: unless-stopped
# version: '3.8'
# services:
# sukoon-backend:
# build: .
# ports:
# - "8002:8001"
# volumes:
# - .:/app
# - ./data:/app/data # For any data files
# - ./storage:/app/storage # For vector store persistence
# environment:
# - PYTHONPATH=/app
# - HOST=0.0.0.0
# - PORT=8001
# # Add your other environment variables here
# - OPENAI_API_KEY=${OPENAI_API_KEY}
# - LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
# - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
# - PORTKEY_API_KEY=${PORTKEY_API_KEY}
# - PORTKEY_VIRTUAL_KEY=${PORTKEY_VIRTUAL_KEY}
# - PORTKEY_VIRTUAL_KEY_A=${PORTKEY_VIRTUAL_KEY_A}
# restart: unless-stopped
# sukoon-frontend:
# build: ./sukoon-frontend
# ports:
# - "3002:80"
# restart: unless-stopped