services: open-webui: image: ghcr.io/open-webui/open-webui:main container_name: open-webui restart: always network_mode: host volumes: - open-webui:/app/backend/data extra_hosts: - "host.docker.internal:host-gateway" environment: - OLLAMA_BASE_URL=http://localhost:11434 volumes: open-webui: name: open-webui