{
  "manifest_version": "1.0.0",
  "template": {
    "id": "322760d6-fbd1-4480-a8bb-2f47a6ed0124",
    "slug": "GnBRzM",
    "name": "Discord4J Bot",
    "description": "A template for deploying Discord bots with Discord4J",
    "url": "https://railway.com/deploy/GnBRzM",
    "upstream": {
      "repo_url": "https://github.com/Lelebees/railway-d4j-template"
    }
  },
  "services": [
    {
      "name": "Discord Bot",
      "source": {
        "repo": "https://github.com/Lelebees/railway-d4j-template"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "BOT_TOKEN",
      "service": "Discord Bot",
      "description": "This is the token you use to keep your bot logged in to discord. Do not share!",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Discord Bot",
      "description": "Workaround for Alpine image based issues with the internal network",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "GnBRzM"
      }
    },
    "cli": "railway deploy --template GnBRzM",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "322760d6-fbd1-4480-a8bb-2f47a6ed0124",
            "serializedConfig": {
              "services": {
                "c855d928-b1dd-4a16-b173-cf3db0e37225": {
                  "name": "Discord Bot",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/Lelebees/railway-d4j-template"
                  },
                  "variables": {
                    "BOT_TOKEN": {
                      "isOptional": false,
                      "description": "This is the token you use to keep your bot logged in to discord. Do not share!",
                      "defaultValue": "{{BOT_TOKEN}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": true,
                      "description": "Workaround for Alpine image based issues with the internal network",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T14:23:25.649Z",
  "success_rate_30d": 0.1667,
  "validation": {
    "last_run_id": "run_bd87d44e62b24fb18e3a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ],
    "typical_ready_seconds": 69,
    "typical_build_seconds": 31,
    "typical_start_seconds": 10,
    "slowest_service": "Discord Bot"
  }
}
