Dozzle
Dozzle is a lightweight, real-time log viewer for Docker containers that runs entirely in the browser. It connects to Docker via the socket and streams container logs in real-time with syntax highlighting, regex search, and multi-container log merging. Dozzle requires no database and stores no data โ it is a pure log viewer that reads logs directly from the Docker engine. It features automatic container discovery, fuzzy search across container names, log downloading, dark/light theme, and a responsive design that works on mobile. The Docker socket is mounted read-only for security, giving Dozzle read access to container metadata and logs without the ability to modify containers. After deployment, access the web UI on port 8080 to see all running containers and their logs in real-time.
Included Services
dozzle
amir20/dozzle:latest
Environment Variables:
Generated YAML
# Generated by ComposeHub (composehub.dev)
name: dozzle
services:
dozzle:
image: amir20/dozzle:latest
restart: always
ports:
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
DOZZLE_LEVEL: ${DOZZLE_LEVEL:-info}
DOZZLE_TAILSIZE: ${DOZZLE_TAILSIZE:-300}
DOZZLE_NO_ANALYTICS: ${DOZZLE_NO_ANALYTICS:-true}
DOZZLE_AUTH_PROVIDER: ${DOZZLE_AUTH_PROVIDER:-none}
networks:
- dozzle
healthcheck:
test:
- CMD-SHELL
- wget --no-verbose --tries=1 --spider http://localhost:8080/healthcheck || exit 1
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
deploy:
resources:
limits:
cpus: "0.50"
memory: 128M
reservations:
cpus: "0.05"
memory: 32M
labels:
com.composehub.description: Dozzle real-time Docker log viewer
networks:
dozzle:
driver: bridge
Quick Info
- Services
- 1
- Networks
- 1
- Volumes
- 0
When to Use
This template is ideal for setting up a dozzle environment. All services are pre-configured with healthchecks, resource limits, and sensible defaults. Customize environment variables before deploying to production.
Tips
- Change all default passwords before deploying
- Review resource limits for your hardware
- Add a reverse proxy for production HTTPS
- Configure backup strategies for data volumes