Skip to content

How-ToGPU

How to Run Ollama on TrueNAS with GPU Acceleration

TrueNAS's Apps Market has community apps for Ollama and Open WebUI, so a home server can run language models for every PC in the house. We explain each setting, from the ROCm image and port 30068 to raising the default limits and passing through a GPU.

By , Systems & Technical Editor

5 min read

How to Run Ollama on TrueNAS with GPU Acceleration

If you already have a home server running TrueNAS, it can double as a local AI box. The TrueNAS Apps Market includes community apps for Ollama and Open WebUI, so you can serve language models to every PC on your network from the machine that already holds your files. This guide walks through installing both apps, giving Ollama a graphics card and connecting the two, based on TrueNAS's app catalogue and documentation as read on 28 November 2026.

Before you start

  • TrueNAS version: the TrueNAS catalogue says both the Ollama and Open WebUI apps require TrueNAS 24.10.2.2 or newer. Update first if you're on an older release.

  • A graphics card is strongly recommended. Without one, Ollama has to run models on the server's CPU, which is much slower. How much memory you need depends on the models you want; our guide to how much VRAM you need covers sizing.

  • Storage space: models are large files, often several gigabytes each, so plan a dataset with room to grow. Our guide to how much storage you need for local AI has more detail.

These are community apps. The TrueNAS catalogue lists them on its Community train, and it notes that the Ollama container runs as the root user and group.

Step 1: Install the Ollama app

In the TrueNAS web interface, open Apps, click Discover Apps and search for Ollama, then open its information screen. On 28 November 2026 the catalogue listed the app at Ollama version 0.40.18, last updated on 24 November 2026. Click Install and work through the settings below.

Image

The Ollama app has an Image Selector with two options: Default Image and ROCM Image. Use the ROCm image if your server has an AMD Radeon card; otherwise keep the default.

Network

The API Port defaults to 30068 in the TrueNAS app, not Ollama's usual 11434. Leave the Port Bind Mode set to Publish if you want other PCs on your network to reach Ollama; TrueNAS describes Expose as being for inter-container communication only. There's also a Host Network option, and the app's own description says, "It's recommended to keep this disabled."

Storage

Under Ollama Data Storage you can let TrueNAS create an ixVolume dataset automatically, or choose Host Path to use a dataset you've already created. Host Path lets you choose exactly which pool and dataset the models live on, such as a fast SSD pool.

Resources and GPU

The app's default resource limits are tight for AI work: CPUs is set to 2 and Memory (in MB) to 4096. Raise both, particularly memory, as anything that spills out of the graphics card falls back on system RAM.

Under GPU Configuration, give Ollama your graphics card. TrueNAS's documentation says that Passthrough available (non-NVIDIA) GPUs passes an AMD or Intel GPU to the app, while Select NVIDIA GPU(s) appears if an NVIDIA card is present with drivers installed; tick Use this GPU for the card you want. TrueNAS also warns that a single GPU can't be shared between apps and a virtual machine, so if the card is already assigned to a VM, Ollama won't be able to use it.

Click Install. TrueNAS's documentation says the app shows as Deploying before it changes to Running. If it stays stuck in Deploying, check the logs from the app's Workloads widget.

Step 2: Download a model

Ollama has an API but no chat window of its own, so the easiest way to manage models is through Open WebUI (next step). You can check the server is working from any PC on your network by browsing to http://<your-truenas-ip>:30068/api/tags, which, according to Ollama's API documentation, lists the models installed. On a fresh install, the list will be empty.

Step 3: Install Open WebUI and connect it

Search the Apps catalogue for Open WebUI. On 28 November 2026 it was listed at version v0.13.5, last updated on 26 November 2026. Its Image Selector has three choices:

Open WebUI image

What it's for

Ollama Image (default)

Includes Ollama for built-in support

Cuda Image

NVIDIA CUDA support

Standard Image

Using an OpenAI-style API or an external Ollama server

Because you've already installed Ollama as its own app, pick Standard Image. Then fill in Ollama Base URL (Optional, Used for External Ollama Server) with your Ollama app's address, for example http://<your-truenas-ip>:30068. Keeping Ollama as a separate app means other tools, not just Open WebUI, can use it.

Open WebUI's web port defaults to 31028 in the TrueNAS app. When it's running, browse to http://<your-truenas-ip>:31028, create your account, then download a model through Open WebUI and start chatting. Our Open WebUI setup guide covers the interface in more detail.

Step 4: Use the server from your PCs

Anything that can talk to an Ollama server can now use your NAS. Point apps at http://<your-truenas-ip>:30068 rather than localhost:11434. Our guides to using Ollama's OpenAI-compatible API and sharing Ollama on your local network explain how client apps connect. Keep the port on your home network rather than publishing it to the internet. If you want access away from home, use a VPN such as Tailscale instead.

Troubleshooting

  • Models run slowly: check the GPU was actually assigned in the app's GPU Configuration, and that the model fits in the card's memory. Our guide to checking Ollama is using your GPU explains what to look for.

  • The NVIDIA option is missing: TrueNAS only shows Select NVIDIA GPU(s) when the card is detected with drivers installed.

  • The GPU is greyed out: make sure it isn't isolated for a virtual machine.

  • Open WebUI can't see any models: check the Ollama Base URL uses port 30068 and the server's IP address, and that the Ollama app is Running.

If you're still choosing an operating system for your server, see our guide to the best NAS operating systems. If you'd rather run Ollama in a virtual machine, our guide to GPU passthrough on Proxmox covers that route.

The bottom line

TrueNAS makes a capable always-on local AI server: install the community Ollama app, give it a graphics card under GPU Configuration, raise the default 2-CPU and 4GB memory limits, and keep its API on the LAN. Then add Open WebUI using the Standard Image, pointed at Ollama's default TrueNAS port of 30068. Remember that a GPU given to a virtual machine can't be used by apps at the same time.

Sources

  1. 01TrueNAS Apps Market, Ollama
  2. 02TrueNAS Apps Market, Open WebUI
  3. 03TrueNAS Apps Market, Installing Apps
  4. 04Ollama documentation, API introduction

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

The 10 Best Microsoft PowerToys Utilities in 2026

Best Picks

The 10 Best Microsoft PowerToys Utilities in 2026

PowerToys now has more than 30 utilities. The ten most useful for PC owners in 2026, from Workspaces, FancyZones and PowerRename to File Locksmith and Power Display.

Hannah Vance6 min