services: ollama: image: ollama/ollama:latest container_name: ollama restart: unless-stopped ports: - "12434:11434" volumes: - /srv/docker/ollama:/root/.ollama environment: - OLLAMA_HOST=0.0.0.0 openwebui: image: ghcr.io/open-webui/open-webui:latest container_name: openwebui restart: unless-stopped depends_on: - ollama ports: - "12000:8080" environment: - OLLAMA_BASE_URL=http://ollama:11434 volumes: - /srv/docker/openwebui:/app/backend/data volumes: ollama_data: openwebui_data: