Direct installation - uses system Node.js:
curl -sSL https://hub-api.dom.to/vps-agent-install.sh | bash
With optional parameters:
curl -sSL https://hub-api.dom.to/vps-agent-install.sh | bash -s -- \
--name "my-worker-1" \
--provider vultr \
--location "New York"
The agent will:
- Install cloudflared for tunneling
- Install/upgrade Node.js if needed (v14+)
- Create a systemd service
- Send heartbeats every 30 seconds
Containerized installation - complete isolation from existing services:
curl -sSL https://hub-api.dom.to/vps-agent-docker-install.sh | bash
With optional parameters:
curl -sSL https://hub-api.dom.to/vps-agent-docker-install.sh | bash -s -- \
--name "my-worker-1" \
--provider vultr \
--location "New York"
Benefits of Docker install:
- Complete isolation - won't affect existing services
- Uses its own Node.js (v18 Alpine)
- Auto-restarts via Docker
- Easy cleanup:
docker compose down
Note: Installs Docker if not present (~200MB)