2024-02-22 03:01:24 +00:00
|
|
|
include:
|
|
|
|
- docker-compose.base.yml
|
|
|
|
|
|
|
|
services:
|
|
|
|
# Begin Ollama service
|
|
|
|
ollama:
|
2024-04-04 14:16:41 +00:00
|
|
|
image: ollama/ollama:latest
|
2024-02-22 03:01:24 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
entrypoint: /bootstrap.sh
|
|
|
|
command: mistral
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
ports:
|
|
|
|
- 11434:11434
|
|
|
|
volumes:
|
|
|
|
- ./ollama/bootstrap.sh:/bootstrap.sh:ro
|
|
|
|
- ./ollama:/root/.ollama
|