add Git stuff
This commit is contained in:
5
ollama/README.md
Normal file
5
ollama/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama --restart unless-stopped
|
||||
docker run -d -p 1180:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
|
||||
|
||||
docker exec -it ollama ollama run llama3.2-vision:11b
|
||||
|
||||
21
ollama/docker-compose.yml
Normal file
21
ollama/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
ollama:
|
||||
restart: always
|
||||
image: ollama/ollama
|
||||
container_name: ollama
|
||||
ports:
|
||||
- 11434:11434
|
||||
volumes:
|
||||
- /home/soenke/docker-data/ollama/ollama:/root/.ollama
|
||||
|
||||
open-webui:
|
||||
image: "ghcr.io/open-webui/open-webui:main"
|
||||
restart: always
|
||||
container_name: open-webui
|
||||
volumes:
|
||||
- /home/soenke/docker-data/ollama/open-webui:/app/backend/data
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- 1180:8080
|
||||
|
||||
Reference in New Issue
Block a user