diff --git a/lute/config/app_config.py b/lute/config/app_config.py index 37014521..e7aec297 100644 --- a/lute/config/app_config.py +++ b/lute/config/app_config.py @@ -36,7 +36,7 @@ def _load_config(self, config_file_path): if self.env not in ["prod", "dev"]: raise ValueError(f"ENV must be prod or dev, was {self.env}.") - self.is_docker = "IS_DOCKER" in config + self.is_docker = bool(config.get("IS_DOCKER", False)) # Database name. self.dbname = config.get("DBNAME", None)