{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0a6b73f8-aefb-43d5-ac4d-5e280df25d1e",
    "slug": "alby-hub",
    "name": "Alby Hub",
    "description": "Easy, connectable, feature-rich Bitcoin Lightning node for self-sovereignty",
    "url": "https://railway.com/deploy/alby-hub",
    "upstream": {
      "image": "ghcr.io/getalby/hub:latest"
    }
  },
  "services": [
    {
      "name": "Alby Hub",
      "source": {
        "image": "ghcr.io/getalby/hub:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/albyhub-data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "WORK_DIR",
      "service": "Alby Hub",
      "description": "Provide a value for WORK_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/albyhub-data/data/albyhub"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "alby-hub"
      }
    },
    "cli": "railway deploy --template alby-hub",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0a6b73f8-aefb-43d5-ac4d-5e280df25d1e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "f604b01a-acb0-4e06-b701-75dba92c9942": {
                  "icon": "https://raw.githubusercontent.com/getAlby/hub/a0d3da28036ea7ea0ac7bd96b62cfca9a7542f8e/frontend/public/icon-darkmode.svg",
                  "name": "Alby Hub",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/getalby/hub:latest"
                  },
                  "variables": {
                    "WORK_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/albyhub-data/data/albyhub"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "f604b01a-acb0-4e06-b701-75dba92c9942": {
                      "mountPath": "/albyhub-data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T10:14:42.516Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T09:51:54.005Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_60bbc7f2b8824b0fbcc2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 82,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Alby Hub"
  }
}
