Use Node.js script for Cronicle trigger to avoid shell dependency

Switches from curl (shell not available in Cronicle container) to a Node.js
inline script using the built-in http module. Tries raggr-green first, falls
back to raggr-blue automatically — no manual update needed on color swap.

Delete the existing broken Cronicle event before redeploying.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-17 08:21:09 -04:00
parent 15a03dba91
commit 504753eef9
3 changed files with 34 additions and 19 deletions
-1
View File
@@ -63,7 +63,6 @@ x-raggr-common: &raggr-common
- CRON_SECRET=${CRON_SECRET}
- CRONICLE_URL=${CRONICLE_URL:-http://cronicle:3012}
- CRONICLE_API_KEY=${CRONICLE_API_KEY}
- RAGGR_INTERNAL_URL=${RAGGR_INTERNAL_URL:-http://raggr-green:8080}
depends_on:
postgres:
condition: service_healthy