From 3f55db0a4c005a804ab01c4e99abfb98753821c1 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Tue, 19 Sep 2023 15:41:55 +0100 Subject: [PATCH] fix: add service name default --- codeforlife/settings/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codeforlife/settings/custom.py b/codeforlife/settings/custom.py index e722c712..853cec1d 100644 --- a/codeforlife/settings/custom.py +++ b/codeforlife/settings/custom.py @@ -5,7 +5,7 @@ import os # The name of the current service. -SERVICE_NAME = os.environ["SERVICE_NAME"] # *required +SERVICE_NAME = os.getenv("SERVICE_NAME", "REPLACE_ME") # If the current service the root service. This will only be true for portal. SERVICE_IS_ROOT = bool(int(os.getenv("SERVICE_IS_ROOT", "0")))