summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2025-12-29 19:40:46 +0800
committerYour Name <you@example.com>2025-12-29 19:40:46 +0800
commit745ca5a613d3dbac8143a62e4a90e9833422e023 (patch)
tree35725aa72df3468bb25cb06c49d8720a5f09b4f2
parent75cae30fbc9816f7ad5138935c672b459c9dc813 (diff)
Update README with host setup
-rw-r--r--README8
1 files changed, 8 insertions, 0 deletions
diff --git a/README b/README
index 8872703..99ecf57 100644
--- a/README
+++ b/README
@@ -8,6 +8,14 @@ Requirements:
8 - Domain name pointing to the public IP 8 - Domain name pointing to the public IP
9TLS certificates are auto-generated by Caddy and stored in a container volume. 9TLS certificates are auto-generated by Caddy and stored in a container volume.
10 10
11Host setup (one-time):
12 cat > /etc/sysctl.d/99-container-routing.conf << 'EOF'
13 net.ipv4.ip_forward=1
14 net.ipv4.conf.enp1s0.proxy_arp=1
15 EOF
16 sysctl -p /etc/sysctl.d/99-container-routing.conf
17 mkdir -p /git
18
11Build: 19Build:
12 podman build -t cgit-caddy . 20 podman build -t cgit-caddy .
13 21