Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Detect when we are running in Docker.
Alex Vandiver11e322ca29b6
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.pyindex da705c11a96..d3d24a4afc7 100644--- a/zproject/computed_settings.py+++ b/zproject/computed_settings.py@@ -177,6 +177,8 @@ if len(sys.argv) > 2 and sys.argv[0].endswith("manage.py") and sys.argv[1] == "pelse:IS_WORKER = False+# This should primarily be used to customize error messages+RUNNING_IN_DOCKER = os.path.exists("/.dockerenv")# This is overridden in test_settings.py for the test suitesPUPPETEER_TESTS = False