Skip to content

Latest commit

 

History

History
85 lines (61 loc) · 3.49 KB

unraid.md

File metadata and controls

85 lines (61 loc) · 3.49 KB

Unraid (Compose Manager)

Run this stack on Unraid with the Docker Compose Manager plugin (or Portainer). There is no separate Unraid-only image or Community Apps template required.

Related: #52. Community success notes adapted from @rmcmilli (2025-01-28) on that issue; thanks also @nrgbistro for pointing at Compose Manager / Portainer.

Prerequisites

  • Docker Compose Manager (or Portainer)
  • A host share for persistence, e.g. /mnt/user/appdata/klipper
  • Printer USB/serial visible on the Unraid host (ls -l /dev/serial/by-id or /dev/ttyUSB*)

Images

Git main / v2.0.0 uses printer_data. Hub tags may lag git — see README Status / images. Build into a local registry if you prefer (as @rmcmilli did), or pull a tag you verified.

dimalo/fluidd usually pulls fine without a local build.

Path mappings (printer_data)

Prefer mounts that match current docker-compose.yml:

Host (example) Container
/mnt/user/appdata/klipper/config /home/klippy/printer_data/config
named volume or share for gcodes /home/klippy/printer_data/gcodes
named volume for Moonraker DB /home/klippy/printer_data/database

Older community snippets still bind /home/klippy/.config — that matches pre-2.0.0 images only. After upgrading, use printer_data and see migration.

Ensure the Unraid user/share permissions allow the container user to read/write the config and gcode paths (ownership/chmod on the appdata folder is a common footgun on NAS).

Compose sketch

services:
  klipper:
    image: dimalo/klipper-moonraker:latest   # or local-registry/... if you build
    container_name: klipper
    restart: unless-stopped
    ports:
      - "7125:7125"
    cap_add:
      - SYS_NICE
    # group_add: ["20"]   # host dialout/tty GID from ls -l on the device
    volumes:
      - gcode_files:/home/klippy/printer_data/gcodes
      - /mnt/user/appdata/klipper/config:/home/klippy/printer_data/config
      - moonraker_data:/home/klippy/printer_data/database
    devices:
      - /dev/ttyUSB0:/dev/ttyUSB0
    # privileged: true   # last resort only; prefer devices + group_add

  fluidd:
    image: dimalo/fluidd:latest
    container_name: fluidd
    restart: unless-stopped
    ports:
      - "8010:80"
    depends_on:
      - klipper
    links:
      - klipper:klipper

volumes:
  gcode_files:
  moonraker_data:

Web UI: http://<unraid-ip>:8010 · Moonraker: port 7125. Avoid port clashes with other containers.

USB cameras in Fluidd are best-effort on Unraid (reported exception in the 2025 notes); device passthrough for /dev/video* is optional and separate from printing.

Serial / privileges

See MCU serial checklist. Prefer explicit devices: + group_add over blanket privileged: true.

Uploads / paths after 2.0.0

G-code upload and config-path bugs tracked in #41 / #63 should be retested on git main / Hub latest you verified. If you still run an old image with .config mounts, migrate first.

Also see