{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4261231f-9323-466d-9043-7d7972044779",
    "slug": "spring-boot-or-java-25-api-in-a-two-stag",
    "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-java-25-api-in-a-two-stag",
    "upstream": {
      "repo_url": "https://github.com/ak40u/spring-boot-railway-starter"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "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-java-25-api-in-a-two-stag"
      }
    },
    "cli": "railway deploy --template spring-boot-or-java-25-api-in-a-two-stag",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4261231f-9323-466d-9043-7d7972044779",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "9e4d1556-53ed-4e00-bb08-874928259865": {
                  "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-04T17:54:19.363Z",
  "generator_version": "0.1.0"
}
