{
  "id": "cassandra",
  "name": "Apache Cassandra",
  "slogan": "A single node Apache Cassandra wide-column database on the official image, with a persistent volume. It is not published on the host and starts without authentication, so reach it only from other services in this project at cassandra:9042. A node needs about 2 GB of memory.",
  "category": "Database Tools",
  "categorySlug": "database-tools",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "Apache-2.0",
    "class": "permissive"
  },
  "memoryMiB": 2048,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install cassandra --name my-cassandra",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/cassandra/",
  "docsUrl": "https://cassandra.apache.org/doc/latest/",
  "sourceRepo": "https://github.com/apache/cassandra",
  "markdownUrl": "https://levelrail.com/templates/cassandra.md",
  "jsonUrl": "https://levelrail.com/templates/cassandra.json",
  "indexable": true,
  "description": "A single node Apache Cassandra wide-column database on the official image, with a persistent volume. It is not published on the host and starts without authentication, so reach it only from other services in this project at cassandra:9042. A node needs about 2 GB of memory.",
  "pinnedTag": "5.0.9",
  "licenseUrl": "https://github.com/apache/cassandra/blob/trunk/LICENSE.txt",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "The first start takes a few minutes. Connect from a service in the same project at cassandra:9042 with the CQL native protocol."
  ],
  "services": [
    {
      "name": "cassandra",
      "image": "cassandra",
      "tag": "5.0.9",
      "ports": [
        9042
      ],
      "volumes": [
        "cassandra_data -> /var/lib/cassandra"
      ]
    }
  ],
  "env": [
    {
      "service": "cassandra",
      "name": "CASSANDRA_CLUSTER_NAME",
      "kind": "preset"
    },
    {
      "service": "cassandra",
      "name": "HEAP_NEWSIZE",
      "kind": "preset"
    },
    {
      "service": "cassandra",
      "name": "MAX_HEAP_SIZE",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install cassandra --name my-cassandra",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/cassandra/install \\\n  -d '{\n    \"name\": \"my-cassandra\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install cassandra --name my-cassandra",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain cassandra=app.example.com."
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/cassandra/install \\\n  -d '{\n    \"name\": \"my-cassandra\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
