# Open WebUI - ChatGPT-style interface for Ollama # Docs: https://docs.openwebui.com/ services: open-webui: container_name: open-webui image: ghcr.io/open-webui/open-webui:main restart: unless-stopped env_file: - .env volumes: - ./data:/app/backend/data environment: # Ollama connection - OLLAMA_BASE_URL=http://ollama:11434 # Enable RAG (Retrieval-Augmented Generation) - ENABLE_RAG_WEB_SEARCH=true - RAG_WEB_SEARCH_ENGINE=duckduckgo - ENABLE_RAG_WEB_LOADER_SSL_VERIFICATION=false # Default model - DEFAULT_MODELS=qwen2.5:3b networks: - homelab labels: # Traefik traefik.enable: true traefik.docker.network: homelab # Web UI traefik.http.routers.open-webui.rule: Host(`ai.fig.systems`) traefik.http.routers.open-webui.entrypoints: websecure traefik.http.routers.open-webui.tls.certresolver: letsencrypt traefik.http.services.open-webui.loadbalancer.server.port: 8080 # No SSO - Open WebUI has its own auth system # Uncomment to add SSO protection: # Homarr Discovery homarr.name: Open WebUI (AI Chat) homarr.group: Services homarr.icon: mdi:robot networks: homelab: external: true