forked from open-webui/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-docker.sh
More file actions
executable file
·9 lines (8 loc) · 831 Bytes
/
dev-docker.sh
File metadata and controls
executable file
·9 lines (8 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
# Removes any existing Open WebUI and Pipelines containers/ volumes - uncomment if you need a fresh start
# docker rm --force pipelines
# docker rm --force open-webui
# docker volume rm pipelines
# docker volume rm open-webui
# Runs the containers with Ollama image for Open WebUI and the Pipelines endpoint in place
docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -v pipelines:/app/pipelines --name pipelines --restart always --env-file .env ghcr.io/open-webui/pipelines:latest
docker run -d -p 3000:8080 -p 11434:11434 --add-host=host.docker.internal:host-gateway -v ~/.ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always -e OPENAI_API_BASE_URL=http://host.docker.internal:9099 -e OPENAI_API_KEY=0p3n-w3bu! -e OLLAMA_HOST=0.0.0.0 ghcr.io/open-webui/open-webui:ollama