# Self-host Netdata

> Per-second infrastructure metrics with zero configuration and a live dashboard out of the box.

- Page: https://levelrail.com/templates/netdata/
- JSON: https://levelrail.com/templates/netdata.json
- Category: Monitoring
- Licence: GPL-3.0-or-later (Copyleft license)
- Source: https://github.com/netdata/netdata
- Upstream docs: https://learn.netdata.cloud

## Requirements
- Memory: about 512 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: v2.11.1

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| netdata | netdata/netdata | v2.11.1 | 19999 | netdata_config -> /etc/netdata; netdata_lib -> /var/lib/netdata; netdata_cache -> /var/cache/netdata |

## Deploy

### CLI

```bash
levelrail-cli templates deploy netdata --name my-netdata
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/netdata/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy Netdata on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id netdata for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image netdata/netdata:v2.11.1 is what you deploy there.

Self-host Netdata, Netdata docker compose file, deploy Netdata on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
