-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 1.19 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
version: "3.8"
services:
chat:
image: thehapyone/codesage:latest
container_name: sage_chat
ports:
- "8080:8000"
environment:
- MODE=CHAT
- SAGE_CONFIG_PATH=/home/appuser/sage/config.toml
- JIRA_PASSWORD
- AZURE_API_KEY
- AZURE_API_BASE
- AZURE_API_VERSION
- GITLAB_PASSWORD
- CHAINLIT_AUTH_SECRET
- COHERE_API_KEY
- HF_HOME=/home/appuser/data/huggingface
- HF_TOKEN
volumes:
- ${SAGE_HOME}/config.toml:/home/appuser/sage/config.toml
- sage_data:/home/appuser/data
- ${SAGE_HOME}/ca.crt:/home/appuser/certs/ca-bundle.crt
data_loader:
image: thehapyone/codesage:latest
container_name: data_loader
environment:
- MODE=DATA_LOADER
- SAGE_CONFIG_PATH=/home/appuser/sage/config.toml
- JIRA_PASSWORD
- AZURE_API_KEY
- AZURE_API_BASE
- AZURE_API_VERSION
- GITLAB_PASSWORD
- COHERE_API_KEY
- HF_HOME=/home/appuser/data/huggingface
- HF_TOKEN
volumes:
- ${SAGE_HOME}/config.toml:/home/appuser/sage/config.toml
- sage_data:/home/appuser/data
- ${SAGE_HOME}/ca.crt:/home/appuser/certs/ca-bundle.crt
volumes:
sage_data: