Dozzle is a lightweight, open‑source, web‑based log viewer for Docker containers that streams logs in real time through a simple browser interface. It’s designed to make monitoring and debugging containers easier without needing to constantly run docker logs in the terminal.
NOTE: This guide will walk through setting the Ugreen NAS up for either a Dozzle server or as an agent.
I have two NVME SSDs installed in my DXP2800, mirrored, that I use to hold apps and docker containers. It's configured as /volume2. All of my docker containers are run from /volume2/docker
mkdir /volume2/docker mkdir /volume2/docker/plex mkdir /volume2/docker/plex/config
Setting up a Dozzle server:
In ~/docker/dozzle create docker-compose.yml
services:
dozzle:
container_name: dozzle
image: amir20/dozzle:v8.14.3
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
DOZZLE_REMOTE_AGENT: 192.168.xx.xx:7007,192.168.xx.xx:7007 # Use the IP addresses of your Dozzle agents
ports:
- "7000:8080"
restart: unless-stopped
Setting up a Dozzle agent:
In ~/docker/dozzle create docker-compose.yml
services:
dozzle-agent:
container_name: dozzle-agent
image: amir20/dozzle:v8.14.3
command: agent
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- "7007:7007"
restart: unless-stopped
From within ~/docker/dozzle run:
docker compose up -d
For the dozzle server:
docker logs beszel
For the dozzle agent:
docker logs beszel-agent
If running your Ugreen Nas as a server:
Open your browser and go to "http://<your-Ugreen-IP-address>:7000. You should see your Ugreen NAS and any agents you created listed.
If running your Ugreen Nas as an agent:
Open your browser and go to "http://<your-dozzle-server>:7000. You should see your Ugreen NAS and any agents you created listed.
If you find my content useful, please consider supporting this page: