{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0a1f95d2-4cd8-4564-9297-efbfcc26b659",
    "slug": "grist-updated",
    "name": "Grist - Spreadsheet Alternative [Updated]",
    "description": "Modern relational spreadsheet combining spreadsheets and databases",
    "url": "https://railway.com/deploy/grist-updated",
    "upstream": {
      "image": "gristlabs/grist:latest"
    }
  },
  "services": [
    {
      "name": "gristlabs",
      "source": {
        "image": "gristlabs/grist:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/persist",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "gristlabs",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8484"
    },
    {
      "key": "APP_HOME_URL",
      "service": "gristlabs",
      "description": "Provide a value for APP_HOME_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GRIST_DATA_DIR",
      "service": "gristlabs",
      "description": "Provide a value for GRIST_DATA_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/persist/docs"
    },
    {
      "key": "GRIST_IN_SERVICE",
      "service": "gristlabs",
      "description": "Provide a value for GRIST_IN_SERVICE.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "GRIST_DEFAULT_EMAIL",
      "service": "gristlabs",
      "description": "Provide a value for GRIST_DEFAULT_EMAIL.",
      "secret": false,
      "strategy": "default",
      "default": "bilalnawaz072@gmail.com"
    },
    {
      "key": "GRIST_SESSION_SECRET",
      "service": "gristlabs",
      "description": "Provide a value for GRIST_SESSION_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "grist-updated"
      }
    },
    "cli": "railway deploy --template grist-updated",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0a1f95d2-4cd8-4564-9297-efbfcc26b659",
            "serializedConfig": {
              "services": {
                "027b09a0-a917-495b-9ec9-360df635afcb": {
                  "name": "gristlabs",
                  "source": {
                    "image": "gristlabs/grist:latest"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "8484"
                    },
                    "APP_HOME_URL": {
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GRIST_DATA_DIR": {
                      "defaultValue": "/persist/docs"
                    },
                    "GRIST_IN_SERVICE": {
                      "defaultValue": "true"
                    },
                    "GRIST_DEFAULT_EMAIL": {
                      "defaultValue": "bilalnawaz072@gmail.com"
                    },
                    "GRIST_SESSION_SECRET": {
                      "defaultValue": "{{GRIST_SESSION_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8484": {
                        "port": 8484
                      }
                    }
                  },
                  "volumeMounts": {
                    "027b09a0-a917-495b-9ec9-360df635afcb": {
                      "mountPath": "/persist"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T19:26:46.470Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_08cb7ce2d8984875ac58",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 51,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "gristlabs"
  }
}
