EN
Sign in Publish
contextetech /

Minimal private AI chat: Ollama and Open WebUI

v1
English License: MIT Published on updated 2 hours ago 0 uses

The simplest stack for a private AI chat: Ollama and Open WebUI with docker-compose, interface on port 3000.

Access Medium

  • Read files or data : No
  • Modify or delete files
  • Send data over the internet
  • Run commands on the machine : No

Services

  • Ollama: runs the model
  • Open WebUI: chat interface

Ports : 3000 (interface)

1. docker compose up -d 2. docker compose exec ollama ollama pull llama3.1 3. Open http://localhost:3000 and create the admin account.

docker-compose.yml

services:
  ollama:
    image: ollama/ollama
    volumes:
      - ollama:/root/.ollama

  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    depends_on: [ollama]
    environment:
      - OLLAMA_BASE_URL=http://ollama:11434
    volumes:
      - open-webui:/app/backend/data
    ports:
      - "3000:8080"

volumes:
  ollama:
  open-webui:

Community

No comments yet. Share your feedback, it will help the next person.