# Self-host EmbyStat

> Watch statistics and insight dashboards for your Emby or Jellyfin server.

- Page: https://levelrail.com/templates/embystat/
- JSON: https://levelrail.com/templates/embystat.json
- Category: Analytics
- Licence: MIT (Permissive license)
- Source: https://github.com/mregni/EmbyStat
- Upstream docs: https://github.com/mregni/EmbyStat

## Requirements
- Memory: about 256 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: latest

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| embystat | lscr.io/linuxserver/embystat | latest | 6555 | embystat_config -> /config |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| embystat | PGID | preset |
| embystat | PUID | preset |
| embystat | TZ | preset |

## Deploy

### CLI

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

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/embystat/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 EmbyStat on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for EmbyStat, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/embystat:latest is what you deploy there.

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