Files
llamacpp-qwen3.5-0.8b/docker-compose.yml
Luca Sacchi Ricciardi 1320f5f92c refactored docker-compose
2026-03-28 07:54:17 +00:00

19 lines
432 B
YAML

services:
llamacpp-server:
image: llamacpp:latest
container_name: llamacpp_${MODEL_FILENAME}_${SERVER_PORT}
ports:
- "${SERVER_PORT}:${SERVER_PORT}"
devices:
- /dev/kfd:/dev/kfd
- /dev/dri:/dev/dri
volumes:
- /opt/models:/models
command: >
-m /models/${MODEL_FILENAME}
--host 0.0.0.0
--port ${SERVER_PORT}
-ngl 99
-c 4096
restart: unless-stopped