{
  "id": "nats",
  "name": "NATS",
  "slogan": "A lightweight messaging server for pub/sub, request/reply and durable streams, with JetStream persistence enabled.",
  "category": "Infrastructure",
  "categorySlug": "infrastructure",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "Apache-2.0",
    "class": "permissive"
  },
  "memoryMiB": 128,
  "architectures": {
    "amd64": "published",
    "arm64": "tested"
  },
  "trust": "verified",
  "verified": true,
  "status": "active",
  "installCommand": "levelrail-cli templates install nats --name my-nats",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/nats/",
  "docsUrl": "https://docs.nats.io/",
  "sourceRepo": "https://github.com/nats-io/nats-server",
  "markdownUrl": "https://levelrail.com/templates/nats.md",
  "jsonUrl": "https://levelrail.com/templates/nats.json",
  "indexable": true,
  "description": "A lightweight messaging server for pub/sub, request/reply and durable streams, with JetStream persistence enabled. Runs as a single container from the nats image, listening on port 4222 and keeps its data in named volumes.",
  "pinnedTag": "2.10-alpine",
  "licenseUrl": "https://github.com/nats-io/nats-server/blob/main/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "nats",
      "image": "nats",
      "tag": "2.10-alpine",
      "ports": [
        4222,
        8222
      ],
      "volumes": [
        "nats_data -> /data"
      ]
    }
  ],
  "env": [],
  "verifiedTag": "2.10-alpine",
  "verifiedArches": [
    "arm64"
  ],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy nats --name my-nats",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/nats/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy nats --name my-nats"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/nats/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
