From 1ab642c9e70fc72770c1d0379eeed73ca57e4edd Mon Sep 17 00:00:00 2001 From: Arunavo Ray Date: Thu, 22 May 2025 09:04:05 +0530 Subject: [PATCH] Update LXC deployment scripts: replace installer script with Proxmox-specific script and update README references --- README.md | 4 ++-- scripts/README-lxc.md | 2 +- ...ea-mirror-lxc-installer.sh => gitea-mirror-lxc-proxmox.sh} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename scripts/{gitea-mirror-lxc-installer.sh => gitea-mirror-lxc-proxmox.sh} (99%) diff --git a/README.md b/README.md index 401bf03..0cecf96 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ bun run setup && bun run dev # Using LXC Containers # For Proxmox VE (online) -curl -fsSL https://raw.githubusercontent.com/arunavo4/gitea-mirror/main/scripts/gitea-mirror-lxc-installer.sh | bash +curl -fsSL https://raw.githubusercontent.com/arunavo4/gitea-mirror/main/scripts/gitea-mirror-lxc-proxmox.sh | bash # For local testing (offline-friendly) sudo LOCAL_REPO_DIR=~/Development/gitea-mirror ./scripts/gitea-mirror-lxc-local.sh @@ -176,7 +176,7 @@ Gitea Mirror offers two deployment options for LXC containers: ```bash # One-command installation on Proxmox VE # Optional env overrides: CTID HOSTNAME STORAGE DISK_SIZE CORES MEMORY BRIDGE IP_CONF -curl -fsSL https://raw.githubusercontent.com/arunavo4/gitea-mirror/main/scripts/gitea-mirror-lxc-installer.sh | bash +curl -fsSL https://raw.githubusercontent.com/arunavo4/gitea-mirror/main/scripts/gitea-mirror-lxc-proxmox.sh | bash ``` **2. Local testing (offline-friendly, works on developer laptops)** diff --git a/scripts/README-lxc.md b/scripts/README-lxc.md index 482d89b..4ba71df 100644 --- a/scripts/README-lxc.md +++ b/scripts/README-lxc.md @@ -19,7 +19,7 @@ Run **Gitea Mirror** in an isolated LXC container, either: ```bash # optional env overrides: CTID HOSTNAME STORAGE DISK_SIZE CORES MEMORY BRIDGE IP_CONF -sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/arunavo4/gitea-mirror/main/scripts/gitea-mirror-lxc-installer.sh)" +sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/arunavo4/gitea-mirror/main/scripts/gitea-mirror-lxc-proxmox.sh)" ``` What it does: diff --git a/scripts/gitea-mirror-lxc-installer.sh b/scripts/gitea-mirror-lxc-proxmox.sh similarity index 99% rename from scripts/gitea-mirror-lxc-installer.sh rename to scripts/gitea-mirror-lxc-proxmox.sh index 44568fa..d242a2e 100755 --- a/scripts/gitea-mirror-lxc-installer.sh +++ b/scripts/gitea-mirror-lxc-proxmox.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# gitea-mirror-proxmox.sh +# gitea-mirror-lxc-proxmox.sh # Fully online installer for a Proxmox LXC guest running Gitea Mirror + Bun. set -euo pipefail