{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a8112eed-ec86-4ffe-a68e-d4f55c5a8e97",
    "slug": "spring-boot-or-jav-1",
    "name": "Spring Boot | Java 25 API in a Two-Stage Container",
    "description": "Spring Boot 4 on Java 25, two-stage image, bound to the platform port",
    "url": "https://railway.com/deploy/spring-boot-or-jav-1",
    "upstream": {
      "repo_url": "https://github.com/ak40u/spring-boot-railway-starter"
    }
  },
  "services": [
    {
      "name": "API",
      "source": {
        "repo": "https://github.com/ak40u/spring-boot-railway-starter"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "API",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "JAVA_OPTS",
      "service": "API",
      "description": "Provide a value for JAVA_OPTS.",
      "secret": false,
      "strategy": "default",
      "default": "-XX:MaxRAMPercentage=75"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "spring-boot-or-jav-1"
      }
    },
    "cli": "railway deploy --template spring-boot-or-jav-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a8112eed-ec86-4ffe-a68e-d4f55c5a8e97",
            "serializedConfig": {
              "services": {
                "ea54dab0-08c7-4f36-aad2-4e44727585ae": {
                  "icon": null,
                  "name": "API",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/ak40u/spring-boot-railway-starter",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    },
                    "JAVA_OPTS": {
                      "isOptional": false,
                      "defaultValue": "-XX:MaxRAMPercentage=75"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-30T10:14:49.191Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-30T08:00:19.088Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c8b92449bf3c45338a97",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 58,
    "typical_build_seconds": 31,
    "typical_start_seconds": 10,
    "slowest_service": "API"
  }
}
