This is a small Node.js service you run on your VPS (inside Docker).
It sends heartbeats to your Zenuxs backend so the node appears in the Admin Panel.
Set this env on your backend:
NODE_AGENT_TOKEN: shared secret used by node agents.
The backend receives heartbeats at POST /node/heartbeat.
Build:
docker build -t zenuxs-node-agent .Run:
docker run -d --restart unless-stopped --name zenuxs-node-agent \
-e BACKEND_URL="http://localhost:7000" \
-e NODE_AGENT_TOKEN="CHANGE_ME" \
-e NODE_NAME="vps-mumbai-1" \
-e NODE_HOST="YOUR_VPS_PUBLIC_IP_OR_DOMAIN" \
-e NODE_REGION="mumbai" \
-e NODE_TAGS="docker" \
-e NODE_WORKSPACE_DIR="/data/zenuxs" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /opt/zenuxs:/data/zenuxs \
-p 8787:8787 \
zenuxs-node-agentHealth check:
curl http://YOUR_VPS_PUBLIC_IP:8787/health