diff --git a/docker/images/n8n/n8n-task-runners.json b/docker/images/n8n/n8n-task-runners.json index 10cf338731..51a4376292 100644 --- a/docker/images/n8n/n8n-task-runners.json +++ b/docker/images/n8n/n8n-task-runners.json @@ -11,9 +11,9 @@ "N8N_RUNNERS_N8N_URI", "N8N_RUNNERS_MAX_PAYLOAD", "N8N_RUNNERS_MAX_CONCURRENCY", - "N8N_RUNNERS_SERVER_ENABLED", - "N8N_RUNNERS_SERVER_HOST", - "N8N_RUNNERS_SERVER_PORT", + "N8N_RUNNERS_HEALTH_CHECK_SERVER_ENABLED", + "N8N_RUNNERS_HEALTH_CHECK_SERVER_HOST", + "N8N_RUNNERS_HEALTH_CHECK_SERVER_PORT", "NODE_FUNCTION_ALLOW_BUILTIN", "NODE_FUNCTION_ALLOW_EXTERNAL", "NODE_OPTIONS", diff --git a/packages/@n8n/task-runner/src/config/base-runner-config.ts b/packages/@n8n/task-runner/src/config/base-runner-config.ts index 723d3279bf..49915550fa 100644 --- a/packages/@n8n/task-runner/src/config/base-runner-config.ts +++ b/packages/@n8n/task-runner/src/config/base-runner-config.ts @@ -2,13 +2,13 @@ import { Config, Env, Nested } from '@n8n/config'; @Config class HealthcheckServerConfig { - @Env('N8N_RUNNERS_SERVER_ENABLED') + @Env('N8N_RUNNERS_HEALTH_CHECK_SERVER_ENABLED') enabled: boolean = false; - @Env('N8N_RUNNERS_SERVER_HOST') + @Env('N8N_RUNNERS_HEALTH_CHECK_SERVER_HOST') host: string = '127.0.0.1'; - @Env('N8N_RUNNERS_SERVER_PORT') + @Env('N8N_RUNNERS_HEALTH_CHECK_SERVER_PORT') port: number = 5681; }