{
  "manifest_version": "1.0.0",
  "template": {
    "id": "04f5324b-286b-4c68-9dfc-a027c250f9c5",
    "slug": "executor-selfhost",
    "name": "Executor | Open Source MCP Gateway",
    "description": "Self-hosted MCP gateway: connect any AI agent to your APIs and tools",
    "url": "https://railway.com/deploy/executor-selfhost",
    "upstream": {
      "image": "ghcr.io/usefulsoftwareco/executor-selfhost:1.6.8"
    }
  },
  "services": [
    {
      "name": "Executor",
      "source": {
        "image": "ghcr.io/usefulsoftwareco/executor-selfhost:1.6.8"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Executor",
      "description": "HTTP port Executor listens on. Railway routes the public domain and healthcheck here — leave as 4788.",
      "secret": false,
      "strategy": "default",
      "default": "4788"
    },
    {
      "key": "EXECUTOR_ORG_NAME",
      "service": "Executor",
      "description": "Name of the default organization created on first boot.",
      "secret": false,
      "strategy": "default",
      "default": "Executor"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "Executor",
      "description": "Session signing secret. Generated once on deploy; changing it logs everyone out.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "EXECUTOR_SECRET_KEY",
      "service": "Executor",
      "description": "Master key that encrypts every stored integration credential. Generated once — changing it makes existing credentials unreadable.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "EXECUTOR_WEB_BASE_URL",
      "service": "Executor",
      "description": "Public URL browsers use to reach Executor. Pre-filled from your Railway domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "EXECUTOR_BOOTSTRAP_ADMIN_NAME",
      "service": "Executor",
      "description": "Display name for the owner account.",
      "secret": false,
      "strategy": "default",
      "default": "Admin"
    },
    {
      "key": "EXECUTOR_BOOTSTRAP_ADMIN_EMAIL",
      "service": "Executor",
      "description": "Email of the pre-created owner account. Sign in with this and the generated password below, then change both in-app.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "EXECUTOR_BOOTSTRAP_ADMIN_PASSWORD",
      "service": "Executor",
      "description": "Password for the pre-created owner. Copy it from this variable after deploy, then change it in the app.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "executor-selfhost"
      }
    },
    "cli": "railway deploy --template executor-selfhost",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "04f5324b-286b-4c68-9dfc-a027c250f9c5",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "98ca1351-069b-41a7-ba1c-a5ed6b788339": {
                  "icon": "https://executor.sh/favicon-192.png",
                  "name": "Executor",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 2
                  },
                  "source": {
                    "image": "ghcr.io/usefulsoftwareco/executor-selfhost:1.6.8"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port Executor listens on. Railway routes the public domain and healthcheck here — leave as 4788.",
                      "defaultValue": "4788"
                    },
                    "EXECUTOR_ORG_NAME": {
                      "isOptional": false,
                      "description": "Name of the default organization created on first boot.",
                      "defaultValue": "Executor"
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Session signing secret. Generated once on deploy; changing it logs everyone out.",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "EXECUTOR_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Master key that encrypts every stored integration credential. Generated once — changing it makes existing credentials unreadable.",
                      "defaultValue": "{{EXECUTOR_SECRET_KEY}}"
                    },
                    "EXECUTOR_WEB_BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL browsers use to reach Executor. Pre-filled from your Railway domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "EXECUTOR_BOOTSTRAP_ADMIN_NAME": {
                      "isOptional": false,
                      "description": "Display name for the owner account.",
                      "defaultValue": "Admin"
                    },
                    "EXECUTOR_BOOTSTRAP_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email of the pre-created owner account. Sign in with this and the generated password below, then change both in-app.",
                      "defaultValue": "admin@example.com"
                    },
                    "EXECUTOR_BOOTSTRAP_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the pre-created owner. Copy it from this variable after deploy, then change it in the app.",
                      "defaultValue": "{{EXECUTOR_BOOTSTRAP_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4788": {
                        "port": 4788
                      }
                    }
                  },
                  "volumeMounts": {
                    "98ca1351-069b-41a7-ba1c-a5ed6b788339": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T04:14:40.089Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T19:01:37.944Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_93f064c33d6148969c54",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 76,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Executor"
  }
}
