From b00694eb8850ad8c090656e3f5470a27e2932282 Mon Sep 17 00:00:00 2001 From: igosad <65003317+igosad@users.noreply.github.com> Date: Wed, 7 Apr 2021 17:21:39 +0100 Subject: [PATCH 1/2] Allow replit to auto detect dependencies (#266) --- .replit | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.replit b/.replit index 909eee8..db3106f 100644 --- a/.replit +++ b/.replit @@ -1,2 +1,2 @@ language = "python3" -run = "pip install -r requirements.txt && ./run" +run = "./run" diff --git a/README.md b/README.md index 83f11bf..3b217bc 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ Provides: ### B) [Repl.it](https://repl.it) [![Run on Repl.it](https://repl.it/badge/github/benbusby/whoogle-search)](https://repl.it/github/benbusby/whoogle-search) +*Note: Requires a (free) Replit account* + Provides: - Free deployment of app - Free HTTPS url (https://\.\\.repl\.co) From d450cb1d616b6476afc4996c3aa9dfd8e1d15617 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Wed, 7 Apr 2021 12:39:12 -0400 Subject: [PATCH 2/2] Reduce docker healthcheck interval from 5m to 30s See #270 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f2aa2a8..50bbf87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,7 +67,7 @@ COPY whoogle.env . EXPOSE $EXPOSE_PORT -HEALTHCHECK --interval=5m --timeout=5s \ +HEALTHCHECK --interval=30s --timeout=5s \ CMD wget --no-verbose --tries=1 http://localhost:${EXPOSE_PORT}/ || exit 1 CMD misc/tor/start-tor.sh & ./run