Compare commits
No commits in common. "657ebae73c893a90bf081aea683c411b3d3b1d06" and "a294c5a2d37f4adeef2275926b163f3760c16dc2" have entirely different histories.
657ebae73c
...
a294c5a2d3
|
@ -4,7 +4,7 @@ include:
|
||||||
services:
|
services:
|
||||||
# Begin Ollama service
|
# Begin Ollama service
|
||||||
ollama:
|
ollama:
|
||||||
image: ollama/ollama:0.1.23-rocm
|
image: ollama/ollama:0.1.22-rocm
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
entrypoint: /bootstrap.sh
|
entrypoint: /bootstrap.sh
|
||||||
command: mistral
|
command: mistral
|
||||||
|
@ -26,4 +26,7 @@ services:
|
||||||
# end of section for AMD GPU support
|
# end of section for AMD GPU support
|
||||||
volumes:
|
volumes:
|
||||||
- ./ollama/bootstrap.sh:/bootstrap.sh:ro
|
- ./ollama/bootstrap.sh:/bootstrap.sh:ro
|
||||||
- ./ollama:/root/.ollama
|
- ollama:/root/.ollama
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
ollama:
|
|
@ -1,26 +0,0 @@
|
||||||
include:
|
|
||||||
- docker-compose.base.yml
|
|
||||||
|
|
||||||
services:
|
|
||||||
# Begin Ollama service
|
|
||||||
ollama:
|
|
||||||
image: ollama/ollama:0.1.23
|
|
||||||
restart: unless-stopped
|
|
||||||
entrypoint: /bootstrap.sh
|
|
||||||
command: mistral
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
ports:
|
|
||||||
- 11434:11434
|
|
||||||
# begin for NVIDIA GPU support
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
reservations:
|
|
||||||
devices:
|
|
||||||
- driver: nvidia
|
|
||||||
count: 1
|
|
||||||
capabilities: [gpu]
|
|
||||||
# end of section for NVIDIA GPU support
|
|
||||||
volumes:
|
|
||||||
- ./ollama/bootstrap.sh:/bootstrap.sh:ro
|
|
||||||
- ./ollama:/root/.ollama
|
|
|
@ -1,3 +0,0 @@
|
||||||
*
|
|
||||||
!.gitignore
|
|
||||||
!bootstrap.sh
|
|
Reference in New Issue