{
  "id": "cockroachdb",
  "name": "CockroachDB",
  "slogan": "A distributed SQL database that speaks the Postgres wire protocol, run as one insecure node for development and small workloads. The SQL port is private, the admin console is the web page. Source available license.",
  "category": "Database Tools",
  "categorySlug": "database-tools",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "LicenseRef-CockroachDB-Software-License",
    "class": "source-available"
  },
  "memoryMiB": 1024,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install cockroachdb --name my-cockroachdb",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/cockroachdb/",
  "docsUrl": "https://www.cockroachlabs.com/docs/",
  "sourceRepo": "https://github.com/cockroachdb/cockroach",
  "markdownUrl": "https://levelrail.com/templates/cockroachdb.md",
  "jsonUrl": "https://levelrail.com/templates/cockroachdb.json",
  "indexable": true,
  "description": "A distributed SQL database that speaks the Postgres wire protocol, run as one insecure node for development and small workloads. The SQL port is private, the admin console is the web page. Source available license.",
  "pinnedTag": "v24.3.1",
  "licenseUrl": "https://github.com/cockroachdb/cockroach/blob/main/LICENSE",
  "licenseClassLabel": "Source available",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Open the admin console, and connect clients from this project to cockroachdb:26257 as root with no password."
  ],
  "services": [
    {
      "name": "cockroachdb",
      "image": "cockroachdb/cockroach",
      "tag": "v24.3.1",
      "ports": [
        8080,
        26257
      ],
      "volumes": [
        "cockroach_data -> /cockroach/cockroach-data"
      ]
    }
  ],
  "env": [],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy cockroachdb --name my-cockroachdb",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/cockroachdb/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy cockroachdb --name my-cockroachdb"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/cockroachdb/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
