19 lines
664 B
JSON
19 lines
664 B
JSON
{
|
|
"task-runners": [
|
|
{
|
|
"runner-type": "javascript",
|
|
"env-overrides": {
|
|
"NODE_FUNCTION_ALLOW_BUILTIN": "crypto", // <-- allowlist Node.js builtin modules here
|
|
"NODE_FUNCTION_ALLOW_EXTERNAL": "moment,uuid", // <-- allowlist third-party JS packages here
|
|
}
|
|
},
|
|
{
|
|
"runner-type": "python",
|
|
"env-overrides": {
|
|
"PYTHONPATH": "/opt/runners/task-runner-python",
|
|
"N8N_RUNNERS_STDLIB_ALLOW": "json", // <-- allowlist Python standard library packages here
|
|
"N8N_RUNNERS_EXTERNAL_ALLOW": "fantraxapi" // <-- allowlist third-party Python packages here
|
|
}
|
|
}
|
|
]
|
|
} |