{
  "manifest_version": "1.0.0",
  "template": {
    "id": "22cbd277-3f67-497c-81d4-09b5b8c23bb6",
    "slug": "angular-ssr-webdecoy-bot-detection",
    "name": "Angular SSR + WebDecoy Bot Detection",
    "description": "Angular SSR app with WebDecoy bot and AI-scraper detection",
    "url": "https://railway.com/deploy/angular-ssr-webdecoy-bot-detection",
    "upstream": {
      "repo_url": "https://github.com/WebDecoy/railway-angular-ssr-starter"
    }
  },
  "services": [
    {
      "name": "railway-angular-ssr-starter",
      "source": {
        "repo": "https://github.com/WebDecoy/railway-angular-ssr-starter"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "WEBDECOY_API_KEY",
      "service": "railway-angular-ssr-starter",
      "description": "Your WebDecoy API key. Create one at app.webdecoy.com under Settings > API Keys (free account).",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "angular-ssr-webdecoy-bot-detection"
      }
    },
    "cli": "railway deploy --template angular-ssr-webdecoy-bot-detection",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "22cbd277-3f67-497c-81d4-09b5b8c23bb6",
            "serializedConfig": {
              "services": {
                "c878a326-1444-487a-a7a3-03a646dd2d9e": {
                  "name": "railway-angular-ssr-starter",
                  "source": {
                    "repo": "WebDecoy/railway-angular-ssr-starter"
                  },
                  "variables": {
                    "NG_ALLOWED_HOSTS": {
                      "isOptional": true,
                      "description": "Only for a custom domain: comma-separated hosts Angular may render for, e.g. example.com,www.example.com. Railway domains already work.",
                      "defaultValue": ""
                    },
                    "WEBDECOY_API_KEY": {
                      "isOptional": false,
                      "description": "Your WebDecoy API key. Create one at app.webdecoy.com under Settings > API Keys (free account).",
                      "defaultValue": "{{WEBDECOY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-27T04:14:50.332Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-27T02:15:34.909Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_2e5003769baa4dcea6df",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
