{
  "manifest_version": "1.0.0",
  "template": {
    "id": "51a6b165-b7ba-4bb2-8483-22aff68c9414",
    "slug": "ethercalc",
    "name": "EtherCalc - Collaborative Spreadsheet on Railway",
    "description": "Self-hosted collaborative spreadsheet application with persistent storage",
    "url": "https://railway.com/deploy/ethercalc",
    "upstream": {
      "repo_url": "https://github.com/kaviarahul123/ethercalc"
    }
  },
  "services": [
    {
      "name": "ethercalc",
      "source": {
        "repo": "https://github.com/kaviarahul123/ethercalc"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "ETHERCALC_PORT",
      "service": "ethercalc",
      "description": "Provide a value for ETHERCALC_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ethercalc"
      }
    },
    "cli": "railway deploy --template ethercalc",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "51a6b165-b7ba-4bb2-8483-22aff68c9414",
            "serializedConfig": {
              "services": {
                "4b025ffd-b6c3-4f82-a7d0-4b37c98ee613": {
                  "name": "ethercalc",
                  "source": {
                    "repo": "kaviarahul123/ethercalc",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "ETHERCALC_PORT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "8000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "4b025ffd-b6c3-4f82-a7d0-4b37c98ee613": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T07:06:22.475Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_2a960ff03cb94ffa9677",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 164,
    "typical_build_seconds": 73,
    "typical_start_seconds": 15,
    "slowest_service": "ethercalc"
  }
}
