{
  "id": "crowdsec",
  "name": "CrowdSec Local API",
  "slogan": "Collaborative security engine run here as the local API that other agents and bouncers register with. The log reading agent and the online API are switched off.",
  "category": "Security",
  "categorySlug": "security",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 256,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install crowdsec --name my-crowdsec",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/crowdsec/",
  "docsUrl": "https://docs.crowdsec.net/",
  "sourceRepo": "https://github.com/crowdsecurity/crowdsec",
  "markdownUrl": "https://levelrail.com/templates/crowdsec.md",
  "jsonUrl": "https://levelrail.com/templates/crowdsec.json",
  "indexable": true,
  "description": "Collaborative security engine run here as the local API that other agents and bouncers register with. The log reading agent and the online API are switched off.",
  "pinnedTag": "v1.8.2",
  "licenseUrl": "https://github.com/crowdsecurity/crowdsec/blob/HEAD/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Register an agent or bouncer with cscli machines add or cscli bouncers add inside the container, then point it at this address."
  ],
  "services": [
    {
      "name": "crowdsec",
      "image": "crowdsecurity/crowdsec",
      "tag": "v1.8.2",
      "ports": [
        8080
      ],
      "volumes": [
        "config -> /etc/crowdsec",
        "data -> /var/lib/crowdsec/data"
      ]
    }
  ],
  "env": [
    {
      "service": "crowdsec",
      "name": "DISABLE_AGENT",
      "kind": "preset"
    },
    {
      "service": "crowdsec",
      "name": "DISABLE_ONLINE_API",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy crowdsec --name my-crowdsec",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/crowdsec/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy crowdsec --name my-crowdsec"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/crowdsec/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
