mirror of
https://github.com/Dokploy/website.git
synced 2026-07-14 10:25:24 +02:00
When the GitHub request fails (unreachable network, rate limiting — common on Proxmox homelab VMs with broken IPv6/DNS), curl -f fails but -w still prints the attempted URL, so detect_version() returned "https://github.com/dokploy/dokploy/releases/latest" instead of a tag. The resulting invalid image (dokploy/dokploy:https://...) meant the dokploy service was never created, traefik.yml was never written, and the bind mount created it as a directory. Accept only values that look like a release tag (v0.x.y), falling back to "latest" otherwise, and add --connect-timeout 10 so blackholed networks fail over in seconds instead of hanging the install. Verified on debian:13 containers: normal network detects v0.29.10, the DOKPLOY_VERSION override is intact, and connection-refused or blackholed github.com now falls back to "latest" within 10s. Fixes #126 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>