mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Update 98-cloudflared-config
This commit is contained in:
@@ -72,7 +72,7 @@ cloudflared -v
|
|||||||
|
|
||||||
echo "**** Checking for optional cloudflare tunnel parameters... ****"
|
echo "**** Checking for optional cloudflare tunnel parameters... ****"
|
||||||
if [[ ${#CF_ACCOUNT_ID} -gt 0 ]] && [[ ${#CF_API_TOKEN} -gt 0 ]] && [[ ${#CF_TUNNEL_NAME} -gt 0 ]]; then
|
if [[ ${#CF_ACCOUNT_ID} -gt 0 ]] && [[ ${#CF_API_TOKEN} -gt 0 ]] && [[ ${#CF_TUNNEL_NAME} -gt 0 ]]; then
|
||||||
if [[ ${#CF_TUNNEL_PASSWORD} -le 32 ]]; then
|
if [[ ${#CF_TUNNEL_PASSWORD} -lt 32 ]]; then
|
||||||
echo "**** Cloudflare tunnel password must be at least 32 characters long, exiting... ****"
|
echo "**** Cloudflare tunnel password must be at least 32 characters long, exiting... ****"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
@@ -182,4 +182,4 @@ done
|
|||||||
echo "**** Uninstalling /tmp/yq... ****"
|
echo "**** Uninstalling /tmp/yq... ****"
|
||||||
rm /tmp/yq
|
rm /tmp/yq
|
||||||
|
|
||||||
echo "**** Cloudflared setup script done, exiting... ****"
|
echo "**** Cloudflared setup script done, exiting... ****"
|
||||||
|
|||||||
Reference in New Issue
Block a user