{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5a4faaf4-d32f-49a5-bf88-7faa8a2f3626",
    "slug": "prestodb",
    "name": "PrestoDB",
    "description": "Analyze data across multiple sources with fast distributed SQL.",
    "url": "https://railway.com/deploy/prestodb",
    "upstream": {
      "image": "prestodb/presto:0.299"
    }
  },
  "services": [
    {
      "name": "presto",
      "source": {
        "image": "prestodb/presto:0.299"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "presto",
      "description": "PrestoDB HTTP endpoint and Web UI port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "PRESTO_NODE_ID",
      "service": "presto",
      "description": "Stable identifier for the single Presto node",
      "secret": false,
      "strategy": "default",
      "default": "presto-railway"
    },
    {
      "key": "PRESTO_ENVIRONMENT",
      "service": "presto",
      "description": "Logical environment name for this Presto deployment",
      "secret": false,
      "strategy": "default",
      "default": "production"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "prestodb"
      }
    },
    "cli": "railway deploy --template prestodb",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5a4faaf4-d32f-49a5-bf88-7faa8a2f3626",
            "serializedConfig": {
              "services": {
                "96a8f374-daa7-408e-8189-37c608d81e59": {
                  "icon": "https://avatars.githubusercontent.com/u/6882181",
                  "name": "presto",
                  "source": {
                    "image": "prestodb/presto:0.299"
                  },
                  "variables": {
                    "PORT": {
                      "description": "PrestoDB HTTP endpoint and Web UI port",
                      "defaultValue": "8080"
                    },
                    "PRESTO_NODE_ID": {
                      "description": "Stable identifier for the single Presto node",
                      "defaultValue": "presto-railway"
                    },
                    "PRESTO_ENVIRONMENT": {
                      "description": "Logical environment name for this Presto deployment",
                      "defaultValue": "production"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T12:35:36.794Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cdda806485c548a79b4f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 88,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "presto"
  }
}
