From 2a3309ca131a0d9dccb23190977fab045a8caa37 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 4 Apr 2026 11:24:56 -0500 Subject: [PATCH] Migrate healthchecks from CHECKS to app.json --- CHECKS | 5 ----- app.json | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) delete mode 100644 CHECKS create mode 100644 app.json diff --git a/CHECKS b/CHECKS deleted file mode 100644 index 3fa14dfb..00000000 --- a/CHECKS +++ /dev/null @@ -1,5 +0,0 @@ -WAIT=5 -TIMEOUT=60 -ATTEMPTS=3 - -/health ok diff --git a/app.json b/app.json new file mode 100644 index 00000000..f979e6c9 --- /dev/null +++ b/app.json @@ -0,0 +1,15 @@ +{ + "healthchecks": { + "web": [ + { + "type": "startup", + "name": "web check", + "path": "/health", + "attempts": 3, + "wait": 5, + "timeout": 60, + "content": "ok" + } + ] + } +}