Skip to content

About

node agent to setup zenuxs host on your own vps.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenuxs Node Agent (Docker-only)

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.

Backend requirements

Set this env on your backend:

  • NODE_AGENT_TOKEN: shared secret used by node agents.

The backend receives heartbeats at POST /node/heartbeat.

Run on a VPS (Docker)

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-agent

Health check:

curl http://YOUR_VPS_PUBLIC_IP:8787/health

About

node agent to setup zenuxs host on your own vps.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages