mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
refactor(core): Rename runner healthcheck env vars
- `N8N_RUNNERS_SERVER_ENABLED` to `N8N_RUNNERS_HEALTH_CHECK_SERVER_ENABLED` - `N8N_RUNNERS_SERVER_HOST` to `N8N_RUNNERS_HEALTH_CHECK_SERVER_HOST` - `N8N_RUNNERS_SERVER_PORT` to `N8N_RUNNERS_HEALTH_CHECK_SERVER_PORT`
This commit is contained in:
parent
d3bb0b6d41
commit
2ba2d0cafd
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue