Aisle Monitoring

Dozzle

Live logs for your containers.

Add to my serverdocker-compose generator (French)Compare alternatives (French)Official documentation

What is it for?

Dozzle shows the logs of all your Docker containers in real time in the browser, with search and filters. Very handy to understand why an app will not start.

Who is it for?

People tired of typing docker logs in the terminal.

Good to know

Dozzle reads the Docker socket and logs can contain sensitive data: protect it with a password (see the authentication section of the docs) or only expose it locally.

After installing

  1. Open the site address: all your containers appear.

The docker-compose

Example behind Traefik. To adapt it (Nginx Proxy Manager, local port…) with a line-by-line explanation, use the generator (in French).

# docker-compose.yml : Dozzle
services:
  dozzle:
    image: amir20/dozzle:latest
    container_name: dozzle
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    environment:
      TZ: Europe/Paris
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    networks:
      - traefik
    labels:
      - traefik.enable=true
      - traefik.http.routers.dozzle.rule=Host(`logs.mydomain.com`)
      - traefik.http.routers.dozzle.entrypoints=websecure
      - traefik.http.routers.dozzle.tls.certresolver=letsencrypt
      - traefik.http.services.dozzle.loadbalancer.server.port=8080

networks:
  traefik:
    external: true