{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d5fc2637-a126-41df-9ba7-6deb628fca7d",
    "slug": "grist",
    "name": "Grist [Updated Sep '26]",
    "description": "Grist [Sep '26] (Build Spreadsheets, Databases & Forms) Self Host",
    "url": "https://railway.com/deploy/grist",
    "upstream": {
      "image": "gristlabs/grist"
    }
  },
  "services": [
    {
      "name": "gristlabs/grist",
      "source": {
        "image": "gristlabs/grist"
      },
      "needs_volume": true,
      "volume_mount_path": "/persist",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "gristlabs/grist",
      "description": "PORT",
      "secret": false,
      "strategy": "default",
      "default": "8484"
    },
    {
      "key": "APP_HOME_URL",
      "service": "gristlabs/grist",
      "description": "APP_HOME_URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GRIST_DEFAULT_EMAIL",
      "service": "gristlabs/grist",
      "description": "GRIST_DEFAULT_EMAIL",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "GRIST_SESSION_SECRET",
      "service": "gristlabs/grist",
      "description": "GRIST_SESSION_SECRET",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "grist"
      }
    },
    "cli": "railway deploy --template grist",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d5fc2637-a126-41df-9ba7-6deb628fca7d",
            "serializedConfig": {
              "services": {
                "7d0fa50b-3eb9-400b-97cc-32e6e1dce544": {
                  "name": "gristlabs/grist",
                  "source": {
                    "image": "gristlabs/grist"
                  },
                  "variables": {
                    "PORT": {
                      "description": "PORT",
                      "defaultValue": "8484"
                    },
                    "APP_HOME_URL": {
                      "description": "APP_HOME_URL",
                      "defaultValue": "https://${{RAILWAY_STATIC_URL}}"
                    },
                    "GRIST_DEFAULT_EMAIL": {
                      "description": "GRIST_DEFAULT_EMAIL",
                      "defaultValue": "admin@example.com"
                    },
                    "GRIST_SESSION_SECRET": {
                      "description": "GRIST_SESSION_SECRET",
                      "defaultValue": "{{GRIST_SESSION_SECRET}}"
                    }
                  },
                  "volumeMounts": {
                    "7d0fa50b-3eb9-400b-97cc-32e6e1dce544": {
                      "mountPath": "/persist"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-23T04:14:45.320Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-22T19:14:41.292Z",
  "success_rate_30d": 0.8571,
  "validation": {
    "last_run_id": "run_a60b2ca1cb314461b646",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ],
    "typical_ready_seconds": 61,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "gristlabs/grist"
  }
}
