From fbfe07cc70687c3ac4ff0ba38b6d24910a4a1bdd Mon Sep 17 00:00:00 2001 From: Nicolas Pastorello Date: Mon, 27 Jul 2026 16:20:47 -0300 Subject: [PATCH] docs(docker): drop link to a doc that does not exist docs/automations-and-cron.md was never written. Replace the pointer with the details it was standing in for: both cron endpoints, the x-cron-secret header, and the 503 they return until AUTOMATION_CRON_SECRET is set. --- docs/docker.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/docker.md b/docs/docker.md index 9834c90..59901b9 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -58,6 +58,9 @@ docker run -d --env-file .env.local -e PORT=3000 -p 3000:3000 wacrm - Database migrations under `supabase/` are **not** run by the container — apply them with the Supabase CLI as described in the README. -- If you use automation Wait steps, remember to point your cron pinger - at `GET /api/automations/cron` on this deployment (see - `docs/automations-and-cron.md`). +- Nothing inside the container is scheduled. If you use automation + Wait steps or flows, point an external scheduler at + `GET /api/automations/cron` and `GET /api/flows/cron` on this + deployment, sending the shared secret in the `x-cron-secret` header + (`AUTOMATION_CRON_SECRET`, see `.env.local.example`). Both return + 503 until that variable is set.