services: open-webui: image: ghcr.io/open-webui/open-webui:main container_name: open-webui-mlx ports: - "3000:8080" environment: - OPENAI_API_BASE_URL=http://host.docker.internal:8090/v1 - OPENAI_API_KEY=none - OLLAMA_BASE_URL= volumes: - open-webui-mlx-data:/app/backend/data extra_hosts: - "host.docker.internal:host-gateway" restart: unless-stopped volumes: open-webui-mlx-data: