{
  "manifest_version": "1.0.0",
  "template": {
    "id": "42410aae-f487-423d-9405-da53f07f4641",
    "slug": "beszel-hub",
    "name": "Beszel",
    "description": "Dashboard that tracks CPU, memory and disk across your servers",
    "url": "https://railway.com/deploy/beszel-hub",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/beszel-railway"
    }
  },
  "services": [
    {
      "name": "beszel",
      "source": {
        "repo": "https://github.com/gridalpha/beszel-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/beszel_data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "beszel",
      "description": "Hub HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "8090"
    },
    {
      "key": "APP_URL",
      "service": "beszel",
      "description": "Public URL used in alert links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_BUCKET",
      "service": "beszel",
      "description": "Backup bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "beszel",
      "description": "Backup bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USER_EMAIL",
      "service": "beszel",
      "description": "First account email, created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "BACKUP_CRON",
      "service": "beszel",
      "description": "Nightly database backup schedule",
      "secret": false,
      "strategy": "default",
      "default": "0 4 * * *"
    },
    {
      "key": "BACKUP_KEEP",
      "service": "beszel",
      "description": "Backup copies retained",
      "secret": false,
      "strategy": "default",
      "default": "7"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "beszel",
      "description": "Backup bucket S3 endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USER_PASSWORD",
      "service": "beszel",
      "description": "First account password, read once on first boot",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "beszel",
      "description": "Backup bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "beszel",
      "description": "Backup bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "beszel",
      "description": "Clean shutdown window for SQLite",
      "secret": false,
      "strategy": "default",
      "default": "15"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "beszel-hub"
      }
    },
    "cli": "railway deploy --template beszel-hub",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "42410aae-f487-423d-9405-da53f07f4641",
            "serializedConfig": {
              "buckets": {
                "f00b355d-e1a1-4b8b-836e-3f53885cb6d3": {
                  "name": "beszel-backups"
                }
              },
              "services": {
                "ff286dfc-154b-4ab7-80ce-d1614298ecee": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/beszel.svg",
                  "name": "beszel",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/beszel-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Hub HTTP listening port",
                      "defaultValue": "8090"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "Public URL used in alert links",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Backup bucket name",
                      "defaultValue": "${{beszel-backups.BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": false,
                      "description": "Backup bucket region",
                      "defaultValue": "${{beszel-backups.REGION}}"
                    },
                    "USER_EMAIL": {
                      "isOptional": false,
                      "description": "First account email, created on first boot",
                      "defaultValue": "admin@example.com"
                    },
                    "BACKUP_CRON": {
                      "isOptional": false,
                      "description": "Nightly database backup schedule",
                      "defaultValue": "0 4 * * *"
                    },
                    "BACKUP_KEEP": {
                      "isOptional": false,
                      "description": "Backup copies retained",
                      "defaultValue": "7"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "Backup bucket S3 endpoint",
                      "defaultValue": "${{beszel-backups.ENDPOINT}}"
                    },
                    "USER_PASSWORD": {
                      "isOptional": false,
                      "description": "First account password, read once on first boot",
                      "defaultValue": "{{USER_PASSWORD}}"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Backup bucket access key",
                      "defaultValue": "${{beszel-backups.ACCESS_KEY_ID}}"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Backup bucket secret key",
                      "defaultValue": "${{beszel-backups.SECRET_ACCESS_KEY}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window for SQLite",
                      "defaultValue": "15"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8090": {
                        "port": 8090
                      }
                    }
                  },
                  "volumeMounts": {
                    "ff286dfc-154b-4ab7-80ce-d1614298ecee": {
                      "mountPath": "/beszel_data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T13:11:44.133Z",
  "success_rate_30d": 0.1667,
  "validation": {
    "last_run_id": "run_80c48354f4684aee8794",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 72
  }
}
