cd /news/developer-tools/llm-server-mit-open-webui-mit-ollama · home topics developer-tools article
[ARTICLE · art-77264] src=gist.github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

LLM-Server mit Open WebUI mit Ollama

A developer provides a step-by-step guide to set up an LLM server with Open WebUI and Ollama on Ubuntu 24.04, including Docker and NVIDIA container toolkit installation. The guide offers two deployment options: one with a Traefik ingress router for HTTPS and a simpler variant without.

read3 min views21 publishedJun 30, 2026

Für Ubuntu 24.04:

sudo apt update
sudo apt upgrade
sudo apt install nvidia-utils-580 nvidia-driver-580

Docker installieren und aktuellen Nutzer berechtigen:

curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER

Nvidia-Repos einrichten

curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
  && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
    sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
    sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

Nvidia-Toolkit für Container installieren:

sudo apt-get update
sudo apt install -y nvidia-container-toolkit

Toolkit in Docker aktivieren:

sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker

Für Ubuntu 24.04:

␃WPNCODE0␃

Docker installieren und aktuellen Nutzer berechtigen:

␃WPNCODE1␃

Nvidia-Repos einrichten

␃WPNCODE2␃

Nvidia-Toolkit für Container installieren:

␃WPNCODE3␃

Toolkit in Docker aktivieren:

␃WPNCODE4␃

| # Variante mit Ingress-Router für HTTPS | | | services: | | | openwebui: | | | image: ghcr.io/open-webui/open-webui:main | | | labels: | | | - "traefik.http.routers.webui.rule=Host(ai.example.org)" | | | - "traefik.http.routers.webui.tls.certResolver=default" | | | - "traefik.http.routers.webui.tls=true" | | | - "traefik.http.services.webui.loadbalancer.server.port=8080" | | | volumes: | | | - ./data/open-webui:/app/backend/data | | | ollama: | | | image: ollama/ollama:latest | | | container_name: ollama | | | volumes: | | | - ./data/ollama:/root/.ollama | | | deploy: | | | resources: | | | reservations: | | | devices: | | | - driver: nvidia | | | count: all | | | capabilities: [gpu] | | | restart: unless-stopped | | | traefik: | | | image: traefik:v3 | | | command: --providers.docker | | | restart: always | | | ports: | | | - 80:80 | | | - 443:443 | | | volumes: | | | - /var/run/docker.sock:/var/run/docker.sock:rw | | | - ./data/traefik/static.yml:/etc/traefik/traefik.yml | | | - ./data/traefik/dynamic.yml:/etc/traefik/dynamic/dynamic.yml | | | - ./data/traefik/acme.json:/etc/traefik/acme/acme.json |

| #Einfache Variante ohne Ingress-Router | | | services: | | | openwebui: | | | image: ghcr.io/open-webui/open-webui:main | | | ports: | | | - 8080:8080 | | | volumes: | | | - ./data/open-webui:/app/backend/data | | | ollama: | | | image: ollama/ollama:latest | | | container_name: ollama | | | volumes: | | | - ./data/ollama:/root/.ollama | | | deploy: | | | resources: | | | reservations: | | | devices: | | | - driver: nvidia |

| http: | | | routers: | | | https-redirect: | | | rule: "HostRegexp({any:.*})" | | | middlewares: | | | - https-redirect | | | service: redirect-all | | | middlewares: | | | https-redirect: | | | redirectScheme: | | | scheme: https | | | services: | | | redirect-all: | | | loadBalancer: | | | servers: | | | - url: "" |

| entryPoints: | | | web: | | | address: ":80" | | | web-secure: | | | address: ":443" | | | providers: | | | docker: | | | watch: true | | | file: | | | directory: /etc/traefik/dynamic | | | watch: true | | | filename: dynamic.yml | | | certificatesResolvers: | | | default: | | | acme: | | | email: ihremail@example.org | | | storage: /etc/traefik/acme/acme.json | | | httpChallenge: | | | entryPoint: web |

── more in #developer-tools 4 stories · sorted by recency
── more on @open webui 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/llm-server-mit-open-…] indexed:0 read:3min 2026-06-30 ·