Rename to proxmox-helpers-hotel-manage-stack; repos now public (token optional)
This commit is contained in:
parent
912776ab0b
commit
c946d08d30
2 changed files with 22 additions and 32 deletions
|
|
@ -7,7 +7,7 @@
|
|||
# │ bash install-stack.sh │
|
||||
# │ │
|
||||
# │ Or from Forgejo once repos are pushed: │
|
||||
# │ bash <(curl -fsSL https://git.pterois.co.uk/jtr/proxmox-helpers/raw/branch/main/install-stack.sh)
|
||||
# │ bash <(curl -fsSL https://git.pterois.co.uk/jtr/proxmox-helpers-hotel-manage-stack/raw/branch/main/install-stack.sh)
|
||||
# └─────────────────────────────────────────────────────────────────────────┘
|
||||
set -euo pipefail
|
||||
|
||||
|
|
@ -137,13 +137,12 @@ Example: https://git.pterois.co.uk/jtr" \
|
|||
|
||||
FORGEJO_TOKEN=$(whiptail --title "HNF Stack — Forgejo Token" \
|
||||
--passwordbox \
|
||||
"Access token for cloning private repos.
|
||||
Create in Forgejo: Settings → Applications → Generate Token
|
||||
(scope: read:repository). It is embedded in each LXC's git
|
||||
remote so the management updater can pull on webhook.
|
||||
"The repos are PUBLIC — leave this blank.
|
||||
|
||||
Leave blank if the repos are public." \
|
||||
13 66 3>&1 1>&2 2>&3) || exit 0
|
||||
(Only needed if you make them private again: an access token
|
||||
from Forgejo → Settings → Applications, scope read:repository,
|
||||
which gets embedded in each LXC's git remote for the updater.)" \
|
||||
12 66 3>&1 1>&2 2>&3) || exit 0
|
||||
|
||||
if whiptail --title "HNF Stack — Deploy Source" --yesno \
|
||||
"Deploy services from Forgejo? (recommended)\n\nNo = copy from a local repo at ${REPO_ROOT}\n(only works if you already copied the repo to this host)" \
|
||||
|
|
@ -789,7 +788,7 @@ SUMMARY
|
|||
Events: Push
|
||||
|
||||
5. To add an app LXC later, on this host run:
|
||||
bash <(curl -fsSL https://git.pterois.co.uk/jtr/proxmox-helpers/raw/branch/main/add-app.sh)
|
||||
bash <(curl -fsSL https://git.pterois.co.uk/jtr/proxmox-helpers-hotel-manage-stack/raw/branch/main/add-app.sh)
|
||||
|
||||
SUMMARY
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue