- Enable Docker Model Runner (v4.40 or newer) in Settings or run the command:
docker desktop enable model-runner --no-tcp
- Download some models from https://hub.docker.com/u/ai
docker model pull ai/qwen2.5:0.5B-F16
docker model pull ai/smollm2:latest
- Be sure to only download models that you have the VRAM to run :)
- Run the compose.yaml here to startup the Open WebUI on port 3000
- you can run my published compose file directly (without needing to save the YAML locally) with
docker compose -f oci://bretfisher/openwebui up
- you can run my published compose file directly (without needing to save the YAML locally) with
- Create an admin user and login at http://localhost:3000
Last active
April 11, 2025 05:27
-
-
Save BretFisher/aafd46eeb7acef2f5ef7d1ea70abe2ad to your computer and use it in GitHub Desktop.
Use Open WebUI with Docker Model Runner and Compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
open-webui: | |
image: ghcr.io/open-webui/open-webui:main | |
ports: | |
- "3000:8080" | |
environment: | |
- OPENAI_API_BASE_URL=http://model-runner.docker.internal:80/engines/llama.cpp/v1 | |
- OPENAI_API_KEY=na | |
volumes: | |
- open-webui:/app/backend/data | |
restart: always | |
volumes: | |
open-webui: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment