From 694b2df28db4ce33cca85c959fa584f473a2ed4f Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Tue, 7 Jul 2026 09:31:56 -0600 Subject: [PATCH] feat: add ENDPOINT_MODE env override to install script for kernels without IPVS support --- apps/website/public/install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/website/public/install.sh b/apps/website/public/install.sh index 19c1231..fa394c6 100644 --- a/apps/website/public/install.sh +++ b/apps/website/public/install.sh @@ -148,7 +148,12 @@ install_dokploy() { # Check if running in Proxmox LXC container and set endpoint mode endpoint_mode="" - if is_proxmox_lxc; then + if [ "$ENDPOINT_MODE" = "dnsrr" ]; then + echo "ENDPOINT_MODE=dnsrr set — adding --endpoint-mode dnsrr to Docker services." + echo "Use this on kernels without IPVS support (e.g. ZimaOS / Buildroot-based images)." + echo "" + endpoint_mode="--endpoint-mode dnsrr" + elif is_proxmox_lxc; then echo "⚠️ WARNING: Detected Proxmox LXC container environment!" echo "Adding --endpoint-mode dnsrr to Docker services for LXC compatibility." echo "This may affect service discovery but is required for LXC containers."