diff options
| -rw-r--r-- | README | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -8,6 +8,14 @@ Requirements: | |||
| 8 | - Domain name pointing to the public IP | 8 | - Domain name pointing to the public IP |
| 9 | TLS certificates are auto-generated by Caddy and stored in a container volume. | 9 | TLS certificates are auto-generated by Caddy and stored in a container volume. |
| 10 | 10 | ||
| 11 | Host 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 | |||
| 11 | Build: | 19 | Build: |
| 12 | podman build -t cgit-caddy . | 20 | podman build -t cgit-caddy . |
| 13 | 21 | ||
