2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-31 10:07:24 +01:00

add llama.cpp

This commit is contained in:
kev
2024-08-20 18:31:26 +08:00
parent 60f8d9f257
commit ef1887567c
3 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
services:
llama.cpp:
image: ghcr.io/ggerganov/llama.cpp:server
command: -m /models/tinyllama-1.1b-chat-v1.0.Q2_K.gguf -c 512 --host 0.0.0.0 --port 8080
ports:
- "8080:8080"
volumes:
- ./data:/models
restart: unless-stopped