mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(cloudflared): allow more time for tunnel startup
This commit is contained in:
@@ -31,6 +31,7 @@ class ConfigureCloudflared
|
||||
'interval' => '5s',
|
||||
'timeout' => '30s',
|
||||
'retries' => 5,
|
||||
'start_period' => '120s',
|
||||
],
|
||||
],
|
||||
],
|
||||
@@ -46,7 +47,7 @@ class ConfigureCloudflared
|
||||
'echo Stopping existing Cloudflare Tunnel container.',
|
||||
'docker rm -f coolify-cloudflared || true',
|
||||
'echo Starting new Cloudflare Tunnel container.',
|
||||
'docker compose up --wait --wait-timeout 15 --remove-orphans || docker logs coolify-cloudflared',
|
||||
'docker compose up --wait --wait-timeout 180 --remove-orphans || docker logs coolify-cloudflared',
|
||||
]);
|
||||
|
||||
return remote_process($commands, $server, callEventOnFinish: 'CloudflareTunnelChanged', callEventData: [
|
||||
|
||||
Reference in New Issue
Block a user