{
  "id": "pi-hole",
  "name": "Pi-hole",
  "slogan": "Network-wide ad blocking that works as a DNS sinkhole for your whole network.",
  "category": "Infrastructure",
  "categorySlug": "infrastructure",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "EUPL-1.2",
    "class": "copyleft"
  },
  "memoryMiB": 256,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install pi-hole --name my-pi-hole",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/pi-hole/",
  "docsUrl": "https://docs.pi-hole.net",
  "sourceRepo": "https://github.com/pi-hole/pi-hole",
  "markdownUrl": "https://levelrail.com/templates/pi-hole.md",
  "jsonUrl": "https://levelrail.com/templates/pi-hole.json",
  "indexable": true,
  "description": "Network-wide ad blocking that works as a DNS sinkhole for your whole network. Runs as a single container from the pihole image, listening on port 80 and keeps its data in named volumes.",
  "pinnedTag": "2024.07.0",
  "licenseUrl": "https://github.com/pi-hole/pi-hole/blob/master/LICENSE",
  "licenseClassLabel": "Copyleft license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "pihole",
      "image": "pihole/pihole",
      "tag": "2024.07.0",
      "ports": [
        80
      ],
      "volumes": [
        "pihole_data -> /etc/pihole"
      ]
    }
  ],
  "env": [
    {
      "service": "pihole",
      "name": "FTLCONF_webserver_api_password",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy pi-hole --name my-pi-hole",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/pi-hole/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy pi-hole --name my-pi-hole"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/pi-hole/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
