| Field | Value |
|---|---|
| Type | Bare metal β Ubuntu Server 24.04 (Noble) |
| CPU | Intel Core i7-12700K (12c/20t) |
| RAM | 16GB |
| GPU | NVIDIA RTX 3070 Ti 8GB VRAM |
| Disk | 98GB (74% used) |
| Internal URL | http://192.168.5.160:8188 |
| Public URL | https://luna.kalymoon.com |
| Primary App | ComfyUI (Python venv) |
| Purpose | AI image generation via Stable Diffusion workflows |
| App | Access | Notes |
|---|---|---|
| ComfyUI | π luna.kalymoon.com Β· π wiki | Node-based Stable Diffusion UI β Python venv at /opt/comfyui |
ComfyUI is a node-based graphical interface for running Stable Diffusion and other diffusion models. Workflows are constructed as visual graphs connecting model loaders, samplers, VAEs, ControlNets, LoRAs, and output nodes β giving full low-level control over the generation pipeline. On Luna, ComfyUI runs as a Python virtualenv install at /opt/comfyui.
π£ Check if ComfyUI is running:
ps aux | grep comfyui
π£ ComfyUI runs as a Python venv process:
/opt/comfyui/venv/bin/python main.py --listen 0.0.0.0 --port 8188
π£ Check for a systemd service:
systemctl status comfyui
journalctl -u comfyui -f
π£ Check GPU status:
nvidia-smi
nvidia-smi --query-gpu=name,memory.used,memory.free,memory.total --format=csv
π£ ComfyUI is installed at /opt/comfyui:
| Path | Contents |
|---|---|
/opt/comfyui/ |
ComfyUI root |
/opt/comfyui/venv/ |
Python virtualenv |
/opt/comfyui/models/checkpoints/ |
Base model .safetensors / .ckpt files |
/opt/comfyui/models/loras/ |
LoRA weights |
/opt/comfyui/models/vae/ |
VAE models |
/opt/comfyui/models/controlnet/ |
ControlNet models |
/opt/comfyui/custom_nodes/ |
Installed custom node extensions |
/opt/comfyui/output/ |
Generated images |
/opt/comfyui/input/ |
Input images for img2img, ControlNet, etc. |
π£ Disk is currently at 74% used β monitor model storage regularly:
df -h /
du -sh /opt/comfyui/models/*
π£ Install custom nodes into /opt/comfyui/custom_nodes/ via ComfyUI Manager or manually:
cd /opt/comfyui/custom_nodes
git clone https://github.com/example/some-custom-node
# Then restart ComfyUI
π£ Common extensions to check for: ComfyUI Manager, ComfyUI Impact Pack, ComfyUI Essentials, WAS Node Suite, efficiency-nodes-comfyui.
π£ Save workflows as JSON via Save (API format) for reproducibility and sharing.
π£ ComfyUI exposes a REST API at http://192.168.5.160:8188 β useful for automation via n8n or other homelab services.
π£ For high-res output without VRAM explosion on 8GB VRAM, use a 2-pass workflow: generate at 512β768px base, then upscale with Hi-Res Fix or Ultimate SD Upscale node.
π£ Check VRAM headroom before loading large models:
nvidia-smi --query-gpu=memory.used,memory.free,memory.total --format=csv
π£ Luna is proxied through NPM (Nginx Proxy Manager) on Kalymoon VM 100.
π£ If the public URL is unreachable, check:
luna.kalymoon.com β http scheme, forward to 192.168.5.160:8188ps aux | grep comfyuicurl -s http://192.168.5.160:8188sudo ufw status (currently inactive)π£ ComfyUI has no built-in auth β if exposing publicly, add NPM basic auth or restrict to VPN/internal access only.
π£ Luna reports to VoidTelemetry (Zabbix server at 192.168.5.153). The Zabbix agent runs as a native systemd service on the Ubuntu host.
π£ Install notes (Ubuntu 24.04 Noble): Use zabbix-release_latest_6.0+ubuntu24.04_all.deb β not the versioned filename used for older releases:
sudo rm -f /tmp/zabbix-release.deb
sudo wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_6.0+ubuntu24.04_all.deb -O /tmp/zabbix-release.deb
sudo dpkg -i /tmp/zabbix-release.deb
sudo apt-get update && sudo apt-get install -y zabbix-agent
π£ Configure and start:
sudo sed -i 's/^Server=.*/Server=192.168.5.153/' /etc/zabbix/zabbix_agentd.conf
sudo sed -i 's/^ServerActive=.*/ServerActive=192.168.5.153/' /etc/zabbix/zabbix_agentd.conf
sudo sed -i 's/^Hostname=.*/Hostname=luna/' /etc/zabbix/zabbix_agentd.conf
sudo systemctl enable zabbix-agent && sudo systemctl restart zabbix-agent
π£ Check agent status:
systemctl status zabbix-agent
π£ Active config values:
Server=192.168.5.153
ServerActive=192.168.5.153
Hostname=luna
π£ Zabbix host entry: zabbix.kalymoon.com β host luna, interface 192.168.5.160:10050.
π£ Luna monitors in Uptime Kuma at the dashboard:
| Monitor | Type | Target |
|---|---|---|
| Luna β ComfyUI | HTTP(s) | http://192.168.5.160:8188 |
| Luna β Public | HTTP(s) | https://luna.kalymoon.com |
π£ Recommended check interval: 60 seconds. Ensure Authentication is set to None on both monitors.
Tags:
homelabbare-metalcomfyuiaiimage-generationstable-diffusionnvidialuna