From 745ca5a613d3dbac8143a62e4a90e9833422e023 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 29 Dec 2025 19:40:46 +0800 Subject: Update README with host setup --- README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README b/README index 8872703..99ecf57 100644 --- a/README +++ b/README @@ -8,6 +8,14 @@ Requirements: - Domain name pointing to the public IP TLS certificates are auto-generated by Caddy and stored in a container volume. +Host setup (one-time): + cat > /etc/sysctl.d/99-container-routing.conf << 'EOF' + net.ipv4.ip_forward=1 + net.ipv4.conf.enp1s0.proxy_arp=1 + EOF + sysctl -p /etc/sysctl.d/99-container-routing.conf + mkdir -p /git + Build: podman build -t cgit-caddy . -- cgit v1.2.3