services: open-webui: build: context: . dockerfile: Dockerfile image: ghcr.io/open-webui/open-webui:main container_name: open-webui volumes: - open-webui:/app/backend/data ports: - ${OPEN_WEBUI_PORT-3000}:8080 environment: - OPENAI_API_BASE_URL=${OPENAI_API_BASE_URL:-https://api.openai.com/v1} - OPENAI_API_KEY=${OPENAI_API_KEY:-} - WEBUI_SECRET_KEY= restart: unless-stopped volumes: open-webui: {}