{
  "manifest_version": "1.0.0",
  "template": {
    "id": "73d5b4d4-df02-4bc1-a515-36f8b4616da1",
    "slug": "OI2sbM",
    "name": "Spring Cloud Gateway - Straightforward",
    "description": "Deploy a Spring Cloud Gateway instance. Easily integrated with Eureka",
    "url": "https://railway.com/deploy/OI2sbM",
    "upstream": {
      "repo_url": "https://github.com/UnirCs/back-end-cloud-gateway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Spring Cloud Gateway",
      "source": {
        "repo": "https://github.com/UnirCs/back-end-cloud-gateway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Spring Cloud Gateway",
      "description": "Value for `server.port` Spring property",
      "secret": false,
      "strategy": "default",
      "default": "8762"
    },
    {
      "key": "EUREKA_URL",
      "service": "Spring Cloud Gateway",
      "description": "Enter the following URL, replacing ``your-railway-internal-name-for-eureka``. ``http://your-railway-internal-name-for-eureka:8761/eureka``. In order to deploy Spring Cloud Gateway it is very useful to have Eureka deployed too. Check \"Spring Cloud Netflix Eureka\" Railway template",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ALLOWED_ORIGINS",
      "service": "Spring Cloud Gateway",
      "description": "Value for Spring Property `spring.cloud.gateway.globalcors.cors-configurations`. By default is \"*\", all origins allowed ",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "ROUTE_TABLES_ENABLED",
      "service": "Spring Cloud Gateway",
      "description": "Value for `management.endpoint.gateway.enabled` Spring property",
      "secret": false,
      "strategy": "default",
      "default": "unrestricted"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "OI2sbM"
      }
    },
    "cli": "railway deploy --template OI2sbM",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "73d5b4d4-df02-4bc1-a515-36f8b4616da1",
            "serializedConfig": {
              "services": {
                "97301d74-84ca-4cc5-aeca-21ae0fb67f0d": {
                  "name": "Spring Cloud Gateway",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/UnirCs/back-end-cloud-gateway"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Value for `server.port` Spring property",
                      "defaultValue": "8762"
                    },
                    "EUREKA_URL": {
                      "isOptional": false,
                      "description": "Enter the following URL, replacing ``your-railway-internal-name-for-eureka``. ``http://your-railway-internal-name-for-eureka:8761/eureka``. In order to deploy Spring Cloud Gateway it is very useful to have Eureka deployed too. Check \"Spring Cloud Netflix Eureka\" Railway template",
                      "defaultValue": "{{EUREKA_URL}}"
                    },
                    "ALLOWED_ORIGINS": {
                      "isOptional": false,
                      "description": "Value for Spring Property `spring.cloud.gateway.globalcors.cors-configurations`. By default is \"*\", all origins allowed ",
                      "defaultValue": "*"
                    },
                    "ROUTE_TABLES_ENABLED": {
                      "isOptional": false,
                      "description": "Value for `management.endpoint.gateway.enabled` Spring property",
                      "defaultValue": "unrestricted"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T10:14:47.278Z",
  "generator_version": "0.1.0"
}
