diff --git a/entrypoint.d/__init__.py b/entrypoint.d/__init__.py index 247651d..8145cd0 100644 --- a/entrypoint.d/__init__.py +++ b/entrypoint.d/__init__.py @@ -47,7 +47,7 @@ def mediamtx_config_init(): #************ INIT ************ # Get config file, # Load config.yml if it exists -if not os.path.exists(config_file) or bool( os.environ.get("DEV_CONFIG_OVERWRITE", False) ): +if not os.path.exists(config_file) or bool( yaml.safe_load(os.environ.get("DEV_CONFIG_OVERWRITE", False)) ): print("Container init | Creating config.yml") # Get default config from opentakserver