From 548af2070942c8cd5e80b3c79f7542dad9201f1b Mon Sep 17 00:00:00 2001 From: Rikki Guy Date: Thu, 16 Nov 2023 16:55:23 +0000 Subject: [PATCH] dokku: Add CHECKS file Add a check to ensure the app is up before switching over traffic --- CHECKS | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CHECKS diff --git a/CHECKS b/CHECKS new file mode 100644 index 0000000..274d271 --- /dev/null +++ b/CHECKS @@ -0,0 +1,7 @@ +WAIT=10 # Wait 10 seconds between checks +TIMEOUT=60 # Timeout after a minute +ATTEMPTS=10 # Attempt checks 10 times + +# Check root URL +/ +