Skip to content

Commit a01e404

Browse files
Merge branch 'main' into gsocmodule_C_week_2
2 parents 0232910 + 4485936 commit a01e404

38 files changed

Lines changed: 9908 additions & 213 deletions

.env.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ REDIS_NO_SSL=false
2424
FLASK_CONFIG=development
2525
INSECURE_REQUESTS=false
2626

27+
# Feature Flags
28+
# Enable the deploy/uptime health probe at GET /rest/v1/health.
29+
# Set to one of 1, true, yes (case-insensitive) to enable; any other value
30+
# (including unset or false) leaves it off and the endpoint returns 404.
31+
32+
CRE_ENABLE_HEALTH=false
33+
2734
# Embeddings
2835

2936
NO_GEN_EMBEDDINGS=false

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ Then edit `.env` and provide values appropriate for your environment.
289289
* Google Auth: `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `GOOGLE_SECRET_JSON`, `LOGIN_ALLOWED_DOMAINS`
290290
* GCP: `GCP_NATIVE`
291291
* Spreadsheet Auth: `OpenCRE_gspread_Auth`
292+
* Feature flags: `CRE_ENABLE_HEALTH` (enable the `GET /rest/v1/health` deploy/uptime probe; off by default, returns 404 when unset)
292293

293294
See `.env.example` for full list and defaults.
294295

0 commit comments

Comments
 (0)