diff --git a/src/config.go b/src/config.go index fc8a45f..1081f12 100644 --- a/src/config.go +++ b/src/config.go @@ -69,6 +69,9 @@ func overrideConfigWithEnv() { if envTempBaseDir := os.Getenv("TEMP_BASE_DIR"); envTempBaseDir != "" { config.General.TempBaseDir = envTempBaseDir } + if envEnableConsole := os.Getenv("ENABLE_CONSOLE"); envEnableConsole != "" { + config.General.EnableConsole = strings.ToLower(envEnableConsole) == "true" + } if envWatchedFolder := os.Getenv("WATCHED_FOLDER"); envWatchedFolder != "" { config.WatchFolder.Path = envWatchedFolder }