github arunavo4/gitea-mirror v2.1.0

latest releases: v3.0.2, v3.0.1, v3.0.0...
3 months ago

Gitea Mirror v2.1.0 (May 22, 2025)

Overview

This release adds LXC container deployment options and a health check API endpoint, along with various improvements and dependency updates.

New Features

LXC Container Deployment

  • Added two deployment scripts:
    • gitea-mirror-lxc-proxmox.sh for online deployment on Proxmox VE hosts
    • gitea-mirror-lxc-local.sh for offline/LAN-only deployment on developer laptops
  • Added detailed documentation in scripts/README-lxc.md
  • Updated main README with LXC deployment instructions

Health Check API Endpoint

  • Implemented a new /api/health endpoint for monitoring system status
  • Provides information on:
    • System uptime and status
    • Database connectivity
    • Memory usage statistics
    • Environment information
  • Added to Docker healthcheck configuration

Improvements

  • Improved error handling in activity logs
  • Updated dependencies to latest versions
  • Enhanced documentation

Deployment Options

Gitea Mirror now supports three deployment methods:

  • Docker containers (original method)
  • LXC containers (new in this release)
  • Native Bun runtime

Quick Start with LXC

Proxmox VE (online)

# 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-proxmox.sh)"

Local LXD (offline-friendly)

# Download the script
curl -fsSL https://raw.githubusercontent.com/arunavo4/gitea-mirror/main/scripts/gitea-mirror-lxc-local.sh -o gitea-mirror-lxc-local.sh
chmod +x gitea-mirror-lxc-local.sh

# Run with your local repo directory
sudo LOCAL_REPO_DIR=~/Development/gitea-mirror ./gitea-mirror-lxc-local.sh

Health Check Usage

# Basic check (returns 200 OK if healthy)
curl -I http://your-server:4321/api/health

# Detailed health information (JSON)
curl http://your-server:4321/api/health

Don't miss a new gitea-mirror release

NewReleases is sending notifications on new releases.