{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5260dd37-6b1d-4591-93fc-7d884c3a1670",
    "slug": "mirage-rs",
    "name": "mirage-rs",
    "description": "Local EVM fork with AI agent relay and chain APIs",
    "url": "https://railway.com/deploy/mirage-rs",
    "upstream": {
      "image": "wpank/mirage:latest"
    }
  },
  "services": [
    {
      "name": "wpank/mirage:latest",
      "source": {
        "image": "wpank/mirage:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/workspace/.roko",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "wpank/mirage:latest",
      "description": "Railway injects this automatically",
      "secret": false,
      "strategy": "default",
      "default": "8545"
    },
    {
      "key": "RUST_LOG",
      "service": "wpank/mirage:latest",
      "description": "Log level",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "MIRAGE_BLOCK_INTERVAL_MS",
      "service": "wpank/mirage:latest",
      "description": "Block production speed (ms)",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "MIRAGE_SNAPSHOT_INTERVAL_SECS",
      "service": "wpank/mirage:latest",
      "description": "State perstence interval",
      "secret": false,
      "strategy": "default",
      "default": "15"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mirage-rs"
      }
    },
    "cli": "railway deploy --template mirage-rs",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5260dd37-6b1d-4591-93fc-7d884c3a1670",
            "serializedConfig": {
              "services": {
                "745c843f-42fb-43fb-9223-17b8c5e473b2": {
                  "name": "wpank/mirage:latest",
                  "source": {
                    "image": "wpank/mirage:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Railway injects this automatically",
                      "defaultValue": "8545"
                    },
                    "RUST_LOG": {
                      "isOptional": false,
                      "description": "Log level",
                      "defaultValue": "info"
                    },
                    "MIRAGE_BLOCK_INTERVAL_MS": {
                      "isOptional": false,
                      "description": "Block production speed (ms)",
                      "defaultValue": "1000"
                    },
                    "MIRAGE_SNAPSHOT_INTERVAL_SECS": {
                      "isOptional": false,
                      "description": "State perstence interval",
                      "defaultValue": "15"
                    }
                  },
                  "volumeMounts": {
                    "745c843f-42fb-43fb-9223-17b8c5e473b2": {
                      "mountPath": "/workspace/.roko"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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-20T13:29:15.324Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b5a5b50eec34439c8849",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 82,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "wpank/mirage:latest"
  }
}
