Sign inSign up

bretfisher/openwebui:latest

Manifest digest

sha256:9ed26dde81b3c9371274e78b4e630a2bda7707b5dbab8cdf84348eda7023f0eb

Last pushed

about 1 year by bretfisher

Type

Compose

Manifest digest

sha256:9ed26dde81b3c9371274e78b4e630a2bda7707b5dbab8cdf84348eda7023f0eb

Compose file content

# This is a Docker Compose file for running the Open WebUI with a specific model.
# It uses the new provider feature of Compose to specify the model to be downloaded.
# Note that Open WebUI lets you select any downloaded model, but it won't auto-download them
# so the provider service will ensure it's downloaded first.
# https://docs.docker.com/compose/how-tos/model-runner/

services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    ports:
      - "3000:8080"
    volumes:
      - open-webui:/app/backend/data
    models:
      gemma:
        # this sets the Open WebUI envvars to use the gemma model and the model runner URL
        endpoint_var: OPENAI_API_BASE_URL
        model_var: DEFAULT_MODELS

models:
  gemma:
    model: ai/gemma3-qat:1B-Q4_K_M # Quantized. Needs 1GB of GPU memory
    # model: ai/gemma3:4B-F16 # bigger model that needs at least 8GB of GPU memory  
    # https://hub.docker.com/r/ai/gemma3
    context_size: 33000

volumes:
  open-webui:

Docker commands

docker compose -f oci://bretfisher/openwebui:latest up

Use the above command to pull and run the Compose file. Learn more.

Images used

Model

Google’s latest Gemma, in its QAT (quantization aware trained) variant


Pulls

100K+

Stars

23

Last Updated

12 months