{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8b63843d-068a-452b-ab3e-91f5281e8271",
    "slug": "rustpad-persistent",
    "name": "Rustpad Persistent - Collaborative Editor with SQLite",
    "description": "Rustpad collaborative editor with SQLite persistence on a volume.",
    "url": "https://railway.com/deploy/rustpad-persistent",
    "upstream": {
      "image": "ekzhang/rustpad:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "rustpad",
      "source": {
        "image": "ekzhang/rustpad:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "rustpad",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RUST_LOG",
      "service": "rustpad",
      "description": "Provide a value for RUST_LOG.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SQLITE_URI",
      "service": "rustpad",
      "description": "Provide a value for SQLITE_URI.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "EXPIRY_DAYS",
      "service": "rustpad",
      "description": "Provide a value for EXPIRY_DAYS.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "rustpad",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rustpad-persistent"
      }
    },
    "cli": "railway deploy --template rustpad-persistent",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8b63843d-068a-452b-ab3e-91f5281e8271",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c6f84b89-2e18-49f3-b71a-c4cd2193193a": {
                  "icon": null,
                  "name": "rustpad",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ekzhang/rustpad:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "{{PORT}}"
                    },
                    "RUST_LOG": {
                      "isOptional": false,
                      "defaultValue": "{{RUST_LOG}}"
                    },
                    "SQLITE_URI": {
                      "isOptional": false,
                      "defaultValue": "{{SQLITE_URI}}"
                    },
                    "EXPIRY_DAYS": {
                      "isOptional": false,
                      "defaultValue": "{{EXPIRY_DAYS}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "{{RAILWAY_RUN_UID}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "c6f84b89-2e18-49f3-b71a-c4cd2193193a": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "rustpad",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
