services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    volumes:
      - ./data:/app/backend/data
    ports:
      - "3000:8080"
    environment:
      - HF_HUB_OFFLINE=1
      - OLLAMA_BASE_URL=http://ollama:11434
      # OPENAI_API_KEY=sk-xxxxxx
    extra_hosts:
      - ollama:x.x.x.x
    restart: unless-stopped
