{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9bc3a0c3-519d-4d6d-b764-6ec266ce6c84",
    "slug": "rackpeek",
    "name": "RackPeek",
    "description": "CLI tool to discover, manage, and document your home lab.",
    "url": "https://railway.com/deploy/rackpeek",
    "upstream": {
      "image": "aptacode/rackpeek:latest"
    }
  },
  "services": [
    {
      "name": "rackpeek",
      "source": {
        "image": "aptacode/rackpeek:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "rackpeek",
      "description": "Application port for the web UI",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "RPK_YAML_DIR",
      "service": "rackpeek",
      "description": "Directory where RackPeek stores its YAML configuration",
      "secret": false,
      "strategy": "default",
      "default": "/app/config"
    },
    {
      "key": "ASPNETCORE_URLS",
      "service": "rackpeek",
      "description": "ASP.NET Core URL binding",
      "secret": false,
      "strategy": "default",
      "default": "http://+:8080"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rackpeek"
      }
    },
    "cli": "railway deploy --template rackpeek",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9bc3a0c3-519d-4d6d-b764-6ec266ce6c84",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0af8d966-c037-4e87-8b15-b953907bb32b": {
                  "icon": "https://raw.githubusercontent.com/Timmoth/RackPeek/main/assets/rackpeek_logo_128x128.png ",
                  "name": "rackpeek",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "aptacode/rackpeek:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Application port for the web UI",
                      "defaultValue": "8080"
                    },
                    "RPK_YAML_DIR": {
                      "isOptional": false,
                      "description": "Directory where RackPeek stores its YAML configuration",
                      "defaultValue": "/app/config"
                    },
                    "ASPNETCORE_URLS": {
                      "isOptional": false,
                      "description": "ASP.NET Core URL binding",
                      "defaultValue": "http://+:8080"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "0af8d966-c037-4e87-8b15-b953907bb32b": {
                      "mountPath": "/app/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "rackpeek",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T17:07:39.945Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_fc506692a1094a3b8d17",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
