-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (50 loc) · 1.26 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
services:
qdrant:
image: qdrant/qdrant
ports:
- 6333:6333
volumes:
- ./qdrant_storage:/qdrant/storage:z
# llamacpp:
# container_name: llama-cpp
# build:
# context: ./llama-cpp-python/docker/cuda_simple
# dockerfile: Dockerfile
# ports:
# - 8888:8000
# volumes:
# - ./models:/models
# environment:
# - MODEL=/models/pygmalion-2-7b.Q4_K_M.gguf
# - N_GPU_LAYERS=40
# - N_CTX=4096
# - TZ=Etc/UTC
# - LLAMA_CUBLAS=1
# restart: no
# command: python3 -m llama_cpp.server --last_n_tokens_size 1
# # depends_on:
# # - test
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
# ragbot:
# build:
# context: .
# dockerfile: Dockerfile
# ports:
# - 8000:8000
# volumes:
# # - ./model:/models
# environment:
# - MARKDOWN_PATH=/docs
# - MODEL_PATH=/models/tinyllama-1.1b-chat-v0.3.Q4_K_M.gguf
# - EMBED_MODEL_NAME=sentence-transformers/all-mpnet-base-v2
# - HOST=0.0.0.0
# - PORT=8000
# depends_on:
# - qdrant
# - llamacpp