-
-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (25 loc) · 842 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (25 loc) · 842 Bytes
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
version: '3.8'
services:
shimmy:
image: ghcr.io/michael-a-kuykendall/shimmy:latest
container_name: shimmy-server
ports:
- "11434:11434" # Shimmy server port
volumes:
- ./models:/app/models # Mount your models directory
- shimmy-cache:/root/.cache # Persistent cache for downloads
environment:
- SHIMMY_BASE_GGUF=/app/models # Point to mounted models
- SHIMMY_PORT=11434 # Server port
- SHIMMY_HOST=0.0.0.0 # Listen on all interfaces
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia # GPU support (optional)
count: all
capabilities: [gpu]
volumes:
shimmy-cache:
driver: local