Last active
February 26, 2024 20:40
-
-
Save narkeeso/253d49c5ea5d8361896b5151ed92a9f9 to your computer and use it in GitHub Desktop.
Simple Ollama Backend and WebUI Docker 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
version: "3.7" | |
services: | |
open-webui: | |
image: ghcr.io/open-webui/open-webui:main | |
depends_on: | |
- ollama | |
volumes: | |
- open-webui:/app/backend/data | |
ports: | |
- 9999:8080 | |
environment: | |
- OLLAMA_API_BASE_URL=http://ollama:11434/api | |
restart: always | |
ollama: | |
image: ollama/ollama | |
ports: | |
- 9998:11434 | |
restart: always | |
volumes: | |
open-webui: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment