Free & Open-Source DevOps Hub: 100% Valid Docker Compose configs & verified hardware benchmarks Try VPS RAM Calculator →
ai-llms ⭐ Featured Self-Hosted Stack Docker: ghcr.io/open-webui/open-webui:main

Self-Host Open WebUI with Docker Compose

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted WebUI designed to operate entirely offline. Supports Ollama, OpenAI API specs, RAG with web search, and custom tools.

GitHub Stars
★ 72,300
GitHub Forks
8,900
Language
Python
License
MIT
Last Commit
1 day ago

Minimum Hardware Requirements

RAM
Minimum Memory
2 GB
CPU
Processor
2 Core(s)
DISK
Storage Required
20 GB NVMe
docker-compose.yml
version: '3.8'

services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    container_name: open-webui
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      - NODE_ENV=production
      - TZ=UTC
    volumes:
      - open-webui_data:/data

volumes:
  open-webui_data:
    driver: local
Save to docker-compose.yml and run: docker compose up -d

Key Environment Variables

Recommended baseline environment configuration for this container

Variable Name Default / Recommended Value
OLLAMA_BASE_URL http://host.docker.internal:11434
WEBUI_SECRET_KEY generate_strong_secret_key
ENABLE_SIGNUP true
⚡ Embedded DevOps Micro-Tool

VPS RAM & Server Sizing Calculator

Planning to run Open WebUI alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.

Total Base RAM
Recommended (+25%)
CPU Cores Needed
Disk Storage

Matched Cloud VPS Tiers for Selected Workload:

💰 Commercial Alternative

Replaces ChatGPT Plus

Proprietary AI assistant requiring monthly subscriptions per seat with cloud data retention policies.

ChatGPT Plus Price: $20.00/mo
Self-Hosted VPS: $5.00/mo
3-Year Savings: $540.00
View All ChatGPT Plus Alternatives

Compare Open WebUI

Benchmark specs head-to-head with other open-source alternatives

Interactive Tool Matchup

Compare Open WebUI Side-by-Side

Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against Open WebUI.

VS
Instant Benchmark Summary Open Full Comparison Page →

RAM
CPU
License

RAM
CPU
License