services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
restart: always
ports:
- "3000:8080"
environment:
ENABLE_OPENAI_API: "True"
OPENAI_API_KEY: ""
OPENAI_API_BASE_URL: "http://host.docker.internal:3001/v1"
ENABLE_OLLAMA_API: "False"
ENABLE_LOGIN_FORM: "False"
ENABLE_SIGNUP: "False"
WEBUI_AUTH: "False"
DEFAULT_MODELS: "TinyLlama"
ENABLE_MESSAGE_RATING: "False"
SAFE_MODE: "True"
TITLE_GENERATION_PROMPT_TEMPLATE: "Create a concise but descriptive 3 to 5 words title in natural English for the following content: {{prompt}}"
volumes:
- open-webui:/app/backend/data
volumes:
open-webui: