# Unifi Statistics Dashboard

**URL:** https://discussion.scottibyte.com/t/unifi-statistics-dashboard/1496
**Category:** Uncategorized
**Created:** [May 3, 2026, 6:08pm UTC](https://discussion.scottibyte.com/t/unifi-statistics-dashboard/1496 "2026-05-03T18:08:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![scott](https://discussion.scottibyte.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@scott](https://discussion.scottibyte.com/u/scott)
#### Post date: [May 3, 2026, 6:08pm UTC](https://discussion.scottibyte.com/t/unifi-statistics-dashboard/1496/1 "2026-05-03T18:08:43Z")

</div>

The Ubiquiti Unifi Network application provides a massive amount of data. I developed the “Unifi Statistics Dashboard” as a read-only web application that displays a nice summary in one place.

 ![image](https://discussion.scottibyte.com/uploads/default/original/2X/1/1f98dc68ef2e0ec4fc0914d2967d040e2b836f07.jpeg)

I am hosting my application on the docker hub and you can see it [here](https://hub.docker.com/r/scottibyte/unifi-statistics).

UPDATE: I released V2 of this dasboard with many enhancements since the first video.

 ![image](https://discussion.scottibyte.com/uploads/default/original/2X/3/3da07827cbd6e8e44474b0510525416e31554d76.png)

The basic idea is to provide an “at a glance” overview of your Unifi network.

The Unifi Statistics dashboard is a docker container and I have chosen to nest it inside of an incus container as a best practice for application isolation and backup.

If you want to learn about Incus, watch my [Incus Containers Step by Step](https://www.youtube.com/watch?v=ULPuU9aKyoU) tutorial.

Start by creating an incus container:

```auto
incus launch images:ubuntu/26.04 UnifiStatistics -p default -p bridgeprofile -c boot.autostart=true -c security.nesting=true

```

Move inside the container.

```auto
incus shell UnifiStatistics

```

Accept the updates.

```auto
apt update && apt upgrade -y

```

Ubuntu 26.04 provides an option to modernize your repository lists. You can do that with:

```auto
apt modernize-sources

```

Install some dependencies.

```auto
apt install nano net-tools curl openssh-server -y

```

Install docker from the script on the docker website.

```auto
curl https://get.docker.com | sh

```

Create an account.

```auto
adduser scott

```

Put your user in the sudo and docker groups.

```auto
usermod -aG sudo,docker scott

```

Log into the new account.

```auto
su - scott

```

Create the folder structure and move inside it.

```auto
mkdir -p unifi-statistics/public
cd unifi-statistics

```

Create a docker compose file.

```auto
nano docker-compose.yml

```

Insert the following into the file.

```auto
services:
  unifi-statistics:
    image: scottibyte/unifi-statistics:latest
    container_name: unifi-statistics
    restart: unless-stopped
    ports:
      - "80:3050"
    env_file:
      - .env
    volumes:
      - ./data:/app/data

```

Save the file with a CTRL O and enter and then CTRL X to exit the nano editor.

Create an environment variables file.

```auto
nano .env

```

Insert the following template.

```auto
UNIFI_URL=https://192.168.1.1
UNIFI_USERNAME=your_username
UNIFI_PASSWORD='your_password_here'
UNIFI_SITE=default
PORT=3050

```

Change the 192.168.1.1 address if the address of your gateway is different. Create a read-only username on your Unifi gateway and change the username/password in the file accordingly. Everything else should be the same.

Save the file with a CTRL O and enter and then CTRL X to exit the nano editor.

Start the application:

```auto
docker compose up -d

```

 ![image](https://discussion.scottibyte.com/uploads/default/original/2X/7/7dfa6494ae9586688fb23b0b01d33d85c4fd7207.png)

Check to see what the address of the container is by examining the “eth0”:

```auto
ifconfig

```

 ![image](https://discussion.scottibyte.com/uploads/default/original/2X/d/d01823bd8cca06b56619de01152590b721e1f54d.jpeg)

Realize that your address will differ from this one.

Open the address you found in your web browser and the dashboard should display.

 ![image](https://discussion.scottibyte.com/uploads/default/original/2X/b/b40ddcdb0172621f513112e0c7f528b723b808c6.jpeg)

After 24 hours, come back and press the red “Clear Baseline” button and you should be good from then on.
