Serve installers from the hub; document the private-repo install

The repo is private, so anonymous raw URLs return 404. The hub now serves
/install-probe.sh (and /install.sh) from its own checkout, open even with
UI_PASSWORD, and the Add probe command fetches from there. The installers
still ask for a read-only token to clone. Docs use Gitea's
"Authorization: token" header and give a git-clone fallback for the hub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
neil 2026-11-04 18:13:19 -08:00
parent 54a765510a
commit efd3836945
10 changed files with 60 additions and 24 deletions

View file

@ -8,7 +8,7 @@
# curl -fsSL https://git.neilbantoc.dev/services/network-monitor/raw/branch/main/install.sh | sudo bash
#
# Private repo over https (the token is asked for, not typed into history):
# read -rsp 'Git token: ' GIT_TOKEN && export GIT_TOKEN && curl -fsSL -H "Authorization: Bearer $GIT_TOKEN" https://git.neilbantoc.dev/services/network-monitor/raw/branch/main/install.sh | bash
# read -rsp 'Git token: ' GIT_TOKEN && export GIT_TOKEN && curl -fsSL -H "Authorization: token $GIT_TOKEN" https://git.neilbantoc.dev/services/network-monitor/raw/branch/main/install.sh | bash
#
# Two ways to run (INSTALL_MODE):
# docker The app in a container (compose). Default on Linux hosts.