Open WebUI is an open-source web interface for running large language models, compatible with OpenAI API and Ollama.
Docker Compose setup
services:
webui:
image: ghcr.io/open-webui/open-webui:main-slim
restart: unless-stopped
ports:
- '127.0.0.1:8080:8080'
volumes:
- open-webui:/app/backend/data
volumes:
open-webui:To enable Google login, add the following environment variables to webui service:
environment:
- ENABLE_OAUTH_SIGNUP=true
- OAUTH_MERGE_ACCOUNTS_BY_EMAIL=true
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRETand add to stack.env (Portainer) or .env (docker-compose):
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=