-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 1.23 KB
/
docker-compose.yml
File metadata and controls
44 lines (42 loc) · 1.23 KB
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
services:
chatbot-api:
build:
context: .
dockerfile: Dockerfile.api
container_name: chatbot-api-local
env_file:
- .env
environment:
- VECTOR_STORE_DIR=/app/vector-store
- COLLECTION_NAME=collection_test
- TOP_K=4
- BACKEND_MODEL_ID=chatbot-rag
volumes:
- ./vector-store:/app/vector-store
ports:
- "${CHATBOT_API_BIND_IP}:${CHATBOT_API_HOST_PORT}:${CHATBOT_API_INTERNAL_PORT}"
restart: unless-stopped
anythingllm:
image: mintplexlabs/anythingllm:latest
container_name: anythingllm-local
depends_on:
- chatbot-api
cap_add:
- SYS_ADMIN
env_file:
- .env
environment:
- STORAGE_DIR=/app/server/storage
- GENERIC_OPEN_AI_BASE_PATH=http://chatbot-api:${CHATBOT_API_INTERNAL_PORT}/v1
- OPEN_AI_BASE_PATH=http://chatbot-api:${CHATBOT_API_INTERNAL_PORT}/v1
- AUTH_TOKEN=${ANYLLM_ADMIN_PASSWORD}
- JWT_SECRET=${JWT_SECRET}
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- anythingllm-local-storage:/app/server/storage
ports:
- "${ANYTHINGLLM_BIND_IP}:${ANYTHINGLLM_HOST_PORT}:${ANYTHINGLLM_HOST_PORT}"
restart: unless-stopped
volumes:
anythingllm-local-storage: