{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b065d7eb-7963-423e-a363-88e651f511ea",
    "slug": "cockpit",
    "name": "Cockpit | Headless CMS with REST & GraphQL",
    "description": "API-first headless CMS with REST & GraphQL, admin UI, SQLite — one service.",
    "url": "https://railway.com/deploy/cockpit",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/cockpit-railway"
    }
  },
  "services": [
    {
      "name": "cockpit",
      "source": {
        "repo": "https://github.com/nomideusz/cockpit-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/www/html/storage",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "cockpit",
      "description": "Port for Railway healthcheck probing. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cockpit"
      }
    },
    "cli": "railway deploy --template cockpit",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b065d7eb-7963-423e-a363-88e651f511ea",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "e00e03fa-5de2-4c51-923f-3bcef2a815e0": {
                  "icon": "https://raw.githubusercontent.com/Cockpit-HQ/Cockpit/master/favicon.png",
                  "name": "cockpit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/auth/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/cockpit-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port for Railway healthcheck probing. Do not change.",
                      "defaultValue": "80"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "e00e03fa-5de2-4c51-923f-3bcef2a815e0": {
                      "mountPath": "/var/www/html/storage"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "cockpit",
      "method": "GET",
      "path": "/auth/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-11T16:14:44.435Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T23:07:17.857Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b07e7c8c9e624c529315",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 157,
    "typical_build_seconds": 57,
    "typical_start_seconds": 10,
    "slowest_service": "cockpit"
  }
}
