diff --git a/README.md b/README.md index f1d5fa6..aabcedc 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,11 @@ no local copy of the repo required on the host. So the management container never creates LXCs; it only updates, monitors and backs up what these scripts provisioned. -## Repo layout (Forgejo — owner `jtr`) +## Repo layout (Forgejo — org `hotel-manage-stack`) -All repos are private, under user `jtr` at `git.pterois.co.uk`. Property-neutral -names, since the stack deploys at multiple hotels: +All repos are public, grouped under the `hotel-manage-stack` org at +`git.pterois.co.uk`. Property-neutral names, since the stack deploys at multiple +hotels: | Repo | Contents | Provisioned to | |------|----------|----------------| @@ -31,8 +32,8 @@ names, since the stack deploys at multiple hotels: Postgres (LXC 100) and NPM (LXC 103) have no repo — the installer generates their compose files inline (they carry secrets / are pure infra). -> Repos live under user `jtr` (there are no Forgejo orgs). The `FORGEJO_BASE` -> default in the wizard is `https://git.pterois.co.uk/jtr`. +> Repos live under the `hotel-manage-stack` org. The `FORGEJO_BASE` default in +> the wizard is `https://git.pterois.co.uk/hotel-manage-stack`. ## One-time host prep @@ -54,7 +55,7 @@ The installer will offer to download the Ubuntu 22.04 template if missing. On the Proxmox host shell (as root). All repos are public, so no token needed: ```bash -bash <(curl -fsSL https://git.pterois.co.uk/jtr/proxmox-helpers-hotel-manage-stack/raw/branch/main/install-stack.sh) +bash <(curl -fsSL https://git.pterois.co.uk/hotel-manage-stack/proxmox-helpers/raw/branch/main/install-stack.sh) ``` The wizard collects site name, domain, NPM LAN IP/gateway, office IP for @@ -71,7 +72,7 @@ offsite. On the Proxmox host (again, because it creates an LXC): ```bash -bash <(curl -fsSL https://git.pterois.co.uk/jtr/proxmox-helpers-hotel-manage-stack/raw/branch/main/add-app.sh) +bash <(curl -fsSL https://git.pterois.co.uk/hotel-manage-stack/proxmox-helpers/raw/branch/main/add-app.sh) ``` Reads `/root/hnf-credentials.txt` for the shared secret and office IP, diff --git a/add-app.sh b/add-app.sh index ebfce85..464e60a 100755 --- a/add-app.sh +++ b/add-app.sh @@ -61,7 +61,7 @@ if whiptail --title "Add App LXC" --yesno \ USE_FORGEJO=true FORGEJO_REPO=$(whiptail --title "Add App LXC" \ --inputbox "Full Forgejo repo URL (.git):" 8 70 \ - "${FORGEJO_BASE:-https://git.pterois.co.uk/jtr}/${APP_NAME}.git" \ + "${FORGEJO_BASE:-https://git.pterois.co.uk/hotel-manage-stack}/${APP_NAME}.git" \ 3>&1 1>&2 2>&3) || exit 0 else USE_FORGEJO=false diff --git a/install-stack.sh b/install-stack.sh index 5044876..49cdf52 100755 --- a/install-stack.sh +++ b/install-stack.sh @@ -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-hotel-manage-stack/raw/branch/main/install-stack.sh) +# │ bash <(curl -fsSL https://git.pterois.co.uk/hotel-manage-stack/proxmox-helpers/raw/branch/main/install-stack.sh) # └─────────────────────────────────────────────────────────────────────────┘ set -euo pipefail @@ -131,8 +131,8 @@ Type 'disabled' to allow access from anywhere:" \ Each service is cloned from /.git → auth portal management noticeboard -Example: https://git.pterois.co.uk/jtr" \ - 13 66 "https://git.pterois.co.uk/jtr" 3>&1 1>&2 2>&3) || exit 0 +Example: https://git.pterois.co.uk/hotel-manage-stack" \ + 13 66 "https://git.pterois.co.uk/hotel-manage-stack" 3>&1 1>&2 2>&3) || exit 0 FORGEJO_BASE="${FORGEJO_BASE%/}" FORGEJO_TOKEN=$(whiptail --title "HNF Stack — Forgejo Token" \ @@ -788,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-hotel-manage-stack/raw/branch/main/add-app.sh) + bash <(curl -fsSL https://git.pterois.co.uk/hotel-manage-stack/proxmox-helpers/raw/branch/main/add-app.sh) SUMMARY }