diff --git a/authentik/lib/utils/reflection.py b/authentik/lib/utils/reflection.py index 3a1a88d54..900c3ab5e 100644 --- a/authentik/lib/utils/reflection.py +++ b/authentik/lib/utils/reflection.py @@ -58,4 +58,6 @@ def get_env() -> str: return "compose" if CONFIG.y_bool("debug"): return "dev" + if "AK_APPLIANCE" in os.environ: + return os.environ["AK_APPLIANCE"] return "custom"