1
0
Fork 0
local-llm/docker-compose.cpu.yml

16 lines
381 B
YAML
Raw Permalink Normal View History

2024-02-22 03:01:24 +00:00
include:
- docker-compose.base.yml
services:
# Begin Ollama service
ollama:
image: ollama/ollama:latest
2024-02-22 03:01:24 +00:00
restart: unless-stopped
entrypoint: /bootstrap.sh
command: mistral
network_mode: service:open-webui
2024-04-04 21:59:10 +00:00
environment:
OLLAMA_HOST: http://localhost:11434
2024-02-22 03:01:24 +00:00
volumes:
- ./ollama/bootstrap.sh:/bootstrap.sh:ro
- ./ollama:/root/.ollama