{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6c6ddd87-5d7c-4567-ade1-b6bd7e29741d",
    "slug": "n8n-task-runner-only",
    "name": "N8N Task Runner (only)",
    "description": "N8N Task Runner - add Python/JavaScript code execution to existing N8N",
    "url": "https://railway.com/deploy/n8n-task-runner-only",
    "upstream": {
      "repo_url": "https://github.com/nick0lay/n8n"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "n8n-runner",
      "source": {
        "repo": "https://github.com/nick0lay/n8n"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "JS_PACKAGES",
      "service": "n8n-runner",
      "description": "Provide a value for JS_PACKAGES.",
      "secret": false,
      "strategy": "default",
      "default": "moment@2.30.1,axios@^1.7.0,lodash@^4.17.21"
    },
    {
      "key": "N8N_VERSION",
      "service": "n8n-runner",
      "description": "Provide a value for N8N_VERSION.",
      "secret": false,
      "strategy": "default",
      "default": "latest"
    },
    {
      "key": "PY_PACKAGES",
      "service": "n8n-runner",
      "description": "Provide a value for PY_PACKAGES.",
      "secret": false,
      "strategy": "default",
      "default": "requests==2.31.0,python-dateutil==2.8.2"
    },
    {
      "key": "JS_ALLOW_LIST",
      "service": "n8n-runner",
      "description": "Provide a value for JS_ALLOW_LIST.",
      "secret": false,
      "strategy": "default",
      "default": "moment,axios,lodash"
    },
    {
      "key": "PY_ALLOW_LIST",
      "service": "n8n-runner",
      "description": "Provide a value for PY_ALLOW_LIST.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "PY_STDLIB_ALLOW",
      "service": "n8n-runner",
      "description": "Provide a value for PY_STDLIB_ALLOW.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "n8n-runner",
      "description": "The default timezone is America/New_York. For instance, the Schedule node uses it to know at what time the workflow should start. To set a different default timezone, set GENERIC_TIMEZONE to the appropriate value.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_AUTH_TOKEN",
      "service": "n8n-runner",
      "description": "A shared secret task runners use to connect to the broker. Example template: ${{n8n.N8N_RUNNERS_AUTH_TOKEN}}",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_RUNNERS_STDLIB_ALLOW",
      "service": "n8n-runner",
      "description": "Provide a value for N8N_RUNNERS_STDLIB_ALLOW.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_TASK_TIMEOUT",
      "service": "n8n-runner",
      "description": "Provide a value for N8N_RUNNERS_TASK_TIMEOUT.",
      "secret": false,
      "strategy": "default",
      "default": "300"
    },
    {
      "key": "N8N_RUNNERS_EXTERNAL_ALLOW",
      "service": "n8n-runner",
      "description": "Provide a value for N8N_RUNNERS_EXTERNAL_ALLOW.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_MAX_CONCURRENCY",
      "service": "n8n-runner",
      "description": "Provide a value for N8N_RUNNERS_MAX_CONCURRENCY.",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "N8N_RUNNERS_TASK_BROKER_URI",
      "service": "n8n-runner",
      "description": "The address of the task broker server within the n8n instance (for example:  http://n8n-main:5679). Template example: http://${{n8n.RAILWAY_PRIVATE_DOMAIN}}:${{n8n.N8N_RUNNERS_BROKER_PORT}} ",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NODE_FUNCTION_ALLOW_BUILTIN",
      "service": "n8n-runner",
      "description": "Provide a value for NODE_FUNCTION_ALLOW_BUILTIN.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "NODE_FUNCTION_ALLOW_EXTERNAL",
      "service": "n8n-runner",
      "description": "Provide a value for NODE_FUNCTION_ALLOW_EXTERNAL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "N8N_RUNNERS_LAUNCHER_LOG_LEVEL",
      "service": "n8n-runner",
      "description": "Provide a value for N8N_RUNNERS_LAUNCHER_LOG_LEVEL.",
      "secret": false,
      "strategy": "default",
      "default": "info"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "n8n-task-runner-only"
      }
    },
    "cli": "railway deploy --template n8n-task-runner-only",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6c6ddd87-5d7c-4567-ade1-b6bd7e29741d",
            "serializedConfig": {
              "services": {
                "241ca2ce-6260-430f-b21b-b2d02b17ba43": {
                  "name": "n8n-runner",
                  "source": {
                    "repo": "nick0lay/n8n",
                    "branch": null,
                    "rootDirectory": "railway-deployment/runner"
                  },
                  "variables": {
                    "JS_PACKAGES": {
                      "defaultValue": "moment@2.30.1,axios@^1.7.0,lodash@^4.17.21"
                    },
                    "N8N_VERSION": {
                      "defaultValue": "latest"
                    },
                    "PY_PACKAGES": {
                      "defaultValue": "requests==2.31.0,python-dateutil==2.8.2"
                    },
                    "JS_ALLOW_LIST": {
                      "defaultValue": "moment,axios,lodash"
                    },
                    "PY_ALLOW_LIST": {
                      "defaultValue": "*"
                    },
                    "PY_STDLIB_ALLOW": {
                      "defaultValue": "*"
                    },
                    "GENERIC_TIMEZONE": {
                      "description": "The default timezone is America/New_York. For instance, the Schedule node uses it to know at what time the workflow should start. To set a different default timezone, set GENERIC_TIMEZONE to the appropriate value.",
                      "defaultValue": "${{n8n-runner.GENERIC_TIMEZONE}}"
                    },
                    "N8N_RUNNERS_AUTH_TOKEN": {
                      "description": "A shared secret task runners use to connect to the broker. Example template: ${{n8n.N8N_RUNNERS_AUTH_TOKEN}}",
                      "defaultValue": "{{N8N_RUNNERS_AUTH_TOKEN}}"
                    },
                    "N8N_RUNNERS_STDLIB_ALLOW": {
                      "defaultValue": "${{PY_STDLIB_ALLOW}}"
                    },
                    "N8N_RUNNERS_TASK_TIMEOUT": {
                      "defaultValue": "300"
                    },
                    "N8N_RUNNERS_EXTERNAL_ALLOW": {
                      "defaultValue": "${{PY_ALLOW_LIST}}"
                    },
                    "N8N_RUNNERS_MAX_CONCURRENCY": {
                      "defaultValue": "5"
                    },
                    "N8N_RUNNERS_TASK_BROKER_URI": {
                      "description": "The address of the task broker server within the n8n instance (for example:  http://n8n-main:5679). Template example: http://${{n8n.RAILWAY_PRIVATE_DOMAIN}}:${{n8n.N8N_RUNNERS_BROKER_PORT}} ",
                      "defaultValue": "{{N8N_RUNNERS_TASK_BROKER_URI}}"
                    },
                    "NODE_FUNCTION_ALLOW_BUILTIN": {
                      "defaultValue": "*"
                    },
                    "NODE_FUNCTION_ALLOW_EXTERNAL": {
                      "defaultValue": "${{JS_ALLOW_LIST}}"
                    },
                    "N8N_RUNNERS_LAUNCHER_LOG_LEVEL": {
                      "defaultValue": "info"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
