Dozzle logo

Dozzle

Monitor your Docker apps logs


Dozzle is a small lightweight application with a web based interface to monitor Docker logs.

Dozzle Docker Compose example

Self-host Dozzle on your own server, homelab, or VPS starting from this Docker Compose example. It runs Dozzle in Docker containers using the official amir20/dozzle:latest image, with persistent volumes and automatic restarts preconfigured. Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.

services:
  dozzle:
    image: amir20/dozzle:latest
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ./users.yml:/data/users.yml
    restart: unless-stopped
    environment:
      DOZZLE_HOSTNAME: ""
      DOZZLE_AUTH_PROVIDER: "simple"
      DOZZLE_ENABLE_ACTIONS: "false"
      DOZZLE_NO_ANALYTICS: "false"
      DOZZLE_LEVEL: "INFO"

Extra files

The Docker Compose configuration above bind-mounts the following file. Save it next to your compose.yml, keeping the same relative path.

users.yml

users:
#  admin:
#    email: me@email.net
#    name: Admin
    # Generate with docker run -it --rm amir20/dozzle generate --name Admin --email me@email.net --password secret admin
#    password: $2a$11$9ho4vY2LdJ/WBopFcsAS0uORC0x2vuFHQgT/yBqZyzclhHsoaIkzK

Prefer a managed setup? WinterFlow installs, configures, and updates Dozzle for you using this same Docker Compose configuration.