mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-08 12:36:44 +03:00
Update LXC deployment scripts: replace installer script with Proxmox-specific script and update README references
This commit is contained in:
@@ -21,7 +21,7 @@ bun run setup && bun run dev
|
|||||||
|
|
||||||
# Using LXC Containers
|
# Using LXC Containers
|
||||||
# For Proxmox VE (online)
|
# 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)
|
# For local testing (offline-friendly)
|
||||||
sudo LOCAL_REPO_DIR=~/Development/gitea-mirror ./scripts/gitea-mirror-lxc-local.sh
|
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
|
```bash
|
||||||
# One-command installation on Proxmox VE
|
# One-command installation on Proxmox VE
|
||||||
# Optional env overrides: CTID HOSTNAME STORAGE DISK_SIZE CORES MEMORY BRIDGE IP_CONF
|
# 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)**
|
**2. Local testing (offline-friendly, works on developer laptops)**
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Run **Gitea Mirror** in an isolated LXC container, either:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# optional env overrides: CTID HOSTNAME STORAGE DISK_SIZE CORES MEMORY BRIDGE IP_CONF
|
# 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:
|
What it does:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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.
|
# Fully online installer for a Proxmox LXC guest running Gitea Mirror + Bun.
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
Reference in New Issue
Block a user