{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2139be6d-b9e1-4dfa-be72-b66a7e19d9ae",
    "slug": "executor-self-hosted",
    "name": "Executor (Self-Hosted)",
    "description": "Self-host Executor to connect any agent to everything.",
    "url": "https://railway.com/deploy/executor-self-hosted",
    "upstream": {
      "image": "ghcr.io/usefulsoftwareco/executor-selfhost:latest"
    }
  },
  "services": [
    {
      "name": "Executor",
      "source": {
        "image": "ghcr.io/usefulsoftwareco/executor-selfhost:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "EXECUTOR_WEB_BASE_URL",
      "service": "Executor",
      "description": "Public URL users open for this Executor instance. Must match the Railway domain exactly so browser login cookies validate.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "executor-self-hosted"
      }
    },
    "cli": "railway deploy --template executor-self-hosted",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2139be6d-b9e1-4dfa-be72-b66a7e19d9ae",
            "serializedConfig": {
              "services": {
                "143ae02d-35d7-4994-8ce5-591fe7542634": {
                  "icon": "https://executor.sh/favicon-192.png",
                  "name": "Executor",
                  "deploy": {
                    "healthcheckPath": "/api/health"
                  },
                  "source": {
                    "image": "ghcr.io/usefulsoftwareco/executor-selfhost:latest"
                  },
                  "variables": {
                    "EXECUTOR_WEB_BASE_URL": {
                      "description": "Public URL users open for this Executor instance. Must match the Railway domain exactly so browser login cookies validate.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "143ae02d-35d7-4994-8ce5-591fe7542634": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Executor",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T09:27:48.662Z",
  "success_rate_30d": 0.8333,
  "validation": {
    "last_run_id": "run_d5cf53c4e8a1470997ba",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ],
    "typical_ready_seconds": 74,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Executor"
  }
}
