From a5221948c5ce27d6dae4937c45c768bfdd92dcca Mon Sep 17 00:00:00 2001 From: josedario87 Date: Sun, 5 Oct 2025 02:51:50 -0600 Subject: [PATCH] Fix: Replace wait command with sleep for tunnel initialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - docker compose wait no funciona sin healthcheck configurado - Reemplazado con sleep 5 + verificación de que el container corre - Agrega paso de verificación para confirmar que el tunnel está up --- .gitea/workflows/deploy.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 67b467a..d25d824 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -51,8 +51,16 @@ jobs: - name: Start tunnel run: docker compose --project-name cloudflared-tunnel start - - name: Wait for tunnel to be healthy - run: docker compose --project-name cloudflared-tunnel wait cloudflared + - name: Wait for tunnel to initialize + run: sleep 5 - name: Show tunnel status run: docker compose --project-name cloudflared-tunnel logs --tail=50 + + - name: Verify tunnel is running + run: | + if ! docker ps | grep -q cloudflared-tunnel; then + echo "❌ Tunnel container no está corriendo" + exit 1 + fi + echo "✅ Tunnel container corriendo"