Skip to content

Instantly share code, notes, and snippets.

@narkeeso
Last active February 26, 2024 20:40
Show Gist options
  • Save narkeeso/253d49c5ea5d8361896b5151ed92a9f9 to your computer and use it in GitHub Desktop.
Save narkeeso/253d49c5ea5d8361896b5151ed92a9f9 to your computer and use it in GitHub Desktop.
Simple Ollama Backend and WebUI Docker Compose
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