YunKan-CUDA

YunKan-CUDA

Aplicación Docker from 田继业's Repository

Visión general

YunKan (云瞰) — self-hosted, local-first NVR / VMS for home and small-business IP cameras, with on-device AI: motion, person / vehicle / face / license plate (ALPR / LPR) / pose / fall detection. Your video stays on your LAN — nothing is uploaded to any vendor cloud. A privacy-first Frigate / Shinobi / ZoneMinder / Scrypted / Agent DVR / iSpy / MotionEye alternative — pre-bundled into a single container so there is no Mosquitto / database / reverse-proxy / model-download wiring to do by hand.

This is the CUDA variant — uses an NVIDIA GPU for inference (≥6 GB VRAM recommended; ≥8 GB for many high-resolution cameras). Tested on RTX 3060 / 3070 / 4060 / 4070 / A2000 / A4000 / Tesla P4 / T4 / Quadro P2000. Highest throughput of the three variants — best fit if you already run a GPU in your Unraid box for Plex / Jellyfin transcoding or other AI workloads.

Prerequisites:

  1. Install the "NVIDIA Driver" plugin in Unraid → reboot → nvidia-smi works on the host;
  2. This template already sets --runtime=nvidia and the NVIDIA_* env vars — no extra config needed;
  3. The image is ~3-4 GB, so the first pull will take a while.

No NVIDIA GPU? Install "YunKan" (CPU) or "YunKan-OpenVINO" (Intel iGPU). All three variants share the same ports — only one can run at a time.

Works with any RTSP or ONVIF camera — Reolink, Hikvision, Dahua, Amcrest, Annke, Uniview, EZVIZ, Foscam, Lorex, Anpviz, generic Chinese ONVIF, etc. Tapo, Wyze, Xiaomi, Eufy, Mi Home, Aqara, Imou and other proprietary-protocol cameras work via a go2rtc bridge.

Built in: 24/7 continuous recording + motion-event highlights, scrubbable timeline playback, AI scene understanding that turns each event into a natural-language summary ("an elderly person fell in the living room" — no OpenAI / Gemini / Claude API keys, all inference on your own GPU), bilingual EN ↔ 中文, WebRTC (WHEP) sub-second live streaming with HLS fallback, two-way talkback (push-to-talk on supported ONVIF cameras), Home Assistant integration via MQTT auto-discovery, Web admin + Android + iOS apps, optional off-site backup to 115 网盘 (115 Pan / 115 Cloud).

On first launch, open the WebUI to enter the Setup wizard.

Ports (hardcoded): 23406/tcp HTTP, 23880/tcp RTSP, 24214/tcp HLS + WebRTC (WHEP) signaling, 23515/udp+tcp WebRTC ICE media.

Keywords: NVR, VMS, CCTV, surveillance, security camera, RTSP, ONVIF, IP camera, CUDA, NVIDIA, GPU, NVDEC, RTX 3060, RTX 4060, RTX 4070, A2000, Tesla P4, Tesla T4, Quadro, motion detection, person detection, vehicle detection, face recognition, license plate recognition, ALPR, LPR, fall detection, pose detection, two-way audio, talkback, 24/7 recording, continuous recording, timeline playback, WebRTC, HLS, Home Assistant, MQTT, smart home, AI NVR, AI camera, AI scene understanding, natural language event summary, smart event description, on-device AI, edge AI, offline AI, no API key, no cloud, privacy, self-hosted, Frigate alternative, Shinobi alternative, ZoneMinder alternative, Scrypted alternative, Agent DVR alternative, iSpy alternative, MotionEye alternative, BlueIris alternative, Reolink, Hikvision, Dahua, Amcrest, Annke, Uniview, EZVIZ, Foscam, Lorex, Tapo, Wyze, Xiaomi, Eufy, Imou, Aqara, go2rtc, 云瞰, 摄像头, 监控, 显卡推理, AI 监控, 本地 AI, 自然语言.

Requisitos

Install the "NVIDIA Driver" plugin so `nvidia-smi` works on the host, otherwise the container can't find CUDA at startup.

Argumentos en tiempo de ejecución

Interfaz web
http://[IP]:[PORT:23406]/
Red
host
Concha
sh
Privilegiado
false
Parámetros adicionales
--runtime=nvidia

Configuración de plantillas

Time zone (TZ)Variable

Container time zone. Affects log timestamps and quiet-hours cron.

Objetivo
TZ
Por defecto
Etc/UTC
Valor
Etc/UTC
Container name (license anchor)Variable

Must exactly match the 'Name' field above. The license heartbeat uses this to identify the container itself; if you rename the container, change this too.

Objetivo
SKYVIEW_SELF_CONTAINER_NAME
Por defecto
YunKan-CUDA
Valor
YunKan-CUDA
NVIDIA_VISIBLE_DEVICESVariable

Which GPU(s) to use. On multi-GPU hosts set this to a specific 'GPU-xxxx' UUID (`nvidia-smi -L` to list); default is all.

Por defecto
all
Valor
all
NVIDIA_DRIVER_CAPABILITIESVariable

GPU capabilities to enable: compute (CUDA inference) + video (NVDEC hardware decode — note: iGPU + VAAPI actually saves more RAM-copy overhead in practice) + utility (nvidia-smi).

Por defecto
compute,video,utility
Valor
compute,video,utility
Data directory (DB / recordings / models / logs)Pathrw

All YunKan persistent data. Unraid convention is /mnt/user/appdata/app/. **For heavy recording workloads, point this at a cache pool or a dedicated share** to avoid spinning up the array.

Objetivo
/app/data
Por defecto
/mnt/user/appdata/yunkan/data
Valor
/mnt/user/appdata/yunkan/data
machine-id (license hardware fingerprint)Pathro

The license uses the Unraid host's machine-id as part of its hardware fingerprint. **Without this mount the fingerprint drifts on every container recreate; the license then consumes a new activation slot and eventually fails to activate.** Keep read-only.

Objetivo
/etc/machine-id
Por defecto
/etc/machine-id
Valor
/etc/machine-id
product_uuid (license hardware fingerprint)Pathro

Second hardware-fingerprint signal (motherboard DMI UUID). Keep read-only.

Objetivo
/sys/class/dmi/id/product_uuid
Por defecto
/sys/class/dmi/id/product_uuid
Valor
/sys/class/dmi/id/product_uuid
docker socket (self-introspection / OTA self-restart)Pathrw

YunKan uses the docker socket internally for self-identification and OTA self-restart. The default Unraid permissions are fine.

Objetivo
/var/run/docker.sock
Por defecto
/var/run/docker.sock
Valor
/var/run/docker.sock
HTTP / API (nginx)Porttcp

Web dashboard + REST API front door.

Objetivo
23406
Por defecto
23406
Valor
23406
RTSPPorttcp

Cameras and external players connect directly here.

Objetivo
23880
Por defecto
23880
Valor
23880
HLS + WebRTC (WHEP) signalingPorttcp

HLS streaming, WebRTC WHEP signaling, and the media-server API / hooks all share this one port.

Objetivo
24214
Por defecto
24214
Valor
24214
WebRTC ICE mediaPortudp

WebRTC ICE media (UDP + TCP).

Objetivo
23515
Por defecto
23515
Valor
23515

Descargar estadísticas

68
Descargas totales

Detalles

Repositorio
martin888/yunkan-cuda:0.9.11
Última actualización2026-06-01
Visto por primera vez2026-06-01

Ejecute YunKan-CUDA en Unraid.

YunKan-CUDA se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.