{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7e8c0a07-5071-4059-8383-b82a6f573b6c",
    "slug": "moto-server",
    "name": "Moto Server",
    "description": "A local in-memory AWS instance for use with any AWS client.",
    "url": "https://railway.com/deploy/moto-server",
    "upstream": {
      "image": "motoserver/moto:5.2.3"
    }
  },
  "services": [
    {
      "name": "moto",
      "source": {
        "image": "motoserver/moto:5.2.3"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "moto",
      "description": "Railway HTTP target port",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MOTO_PORT",
      "service": "moto",
      "description": "Moto Server listening port",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "moto-server"
      }
    },
    "cli": "railway deploy --template moto-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7e8c0a07-5071-4059-8383-b82a6f573b6c",
            "serializedConfig": {
              "services": {
                "8f3e5003-4919-4a95-93e7-82c3964f40ec": {
                  "name": "moto",
                  "deploy": {
                    "startCommand": "sh -c 'moto_server -H 0.0.0.0 -p ${PORT:-5000}'"
                  },
                  "source": {
                    "image": "motoserver/moto:5.2.3"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Railway HTTP target port",
                      "defaultValue": "5000"
                    },
                    "MOTO_PORT": {
                      "description": "Moto Server listening port",
                      "defaultValue": "5000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5000": {
                        "port": 5000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-08T05:54:19.399Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T06:01:44.704Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_149b4654aaf74dfc9fb3",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 17,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "moto"
  }
}
