{
  "manifest_version": "1.0.0",
  "template": {
    "id": "03537a25-6ca8-410b-a7a6-f9cb03f41384",
    "slug": "MZl8-G",
    "name": "Tier",
    "description": "A single tool to configure,orchestrate and manage your entire pricing stack",
    "url": "https://railway.com/deploy/MZl8-G",
    "upstream": {
      "image": "tierrun/tier"
    }
  },
  "services": [
    {
      "name": "Tier",
      "source": {
        "image": "tierrun/tier"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Tier",
      "description": "Port to listen. Set it to 8080 or change the start command to reflect the port you're using",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "TIER_LIVE",
      "service": "Tier",
      "description": "1 For live sync with stripe, 0 for testing purposes",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "STRIPE_API_KEY",
      "service": "Tier",
      "description": "Your stripe api key (can be a testing one, just make sure TIER_LIVE is 0)",
      "secret": true,
      "strategy": "default",
      "default": "YourStripeApiKey"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "MZl8-G"
      }
    },
    "cli": "railway deploy --template MZl8-G",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "03537a25-6ca8-410b-a7a6-f9cb03f41384",
            "serializedConfig": {
              "services": {
                "9222856a-5edb-4bd3-b155-6ad70bac00ac": {
                  "name": "Tier",
                  "build": {},
                  "deploy": {
                    "startCommand": "tier -v serve --addr=:8080",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "tierrun/tier"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port to listen. Set it to 8080 or change the start command to reflect the port you're using",
                      "defaultValue": "8080"
                    },
                    "TIER_LIVE": {
                      "isOptional": true,
                      "description": "1 For live sync with stripe, 0 for testing purposes",
                      "defaultValue": "0"
                    },
                    "STRIPE_API_KEY": {
                      "isOptional": false,
                      "description": "Your stripe api key (can be a testing one, just make sure TIER_LIVE is 0)",
                      "defaultValue": "YourStripeApiKey"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T15:30:08.811Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b6ec9227b2b94047ba40",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 53,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Tier"
  }
}
