Add Dozzle for simple, real-time Docker container log viewing. Features: - Real-time log streaming from all containers - Search and filter capabilities - Multi-container side-by-side view - Container resource statistics (CPU, memory) - No database required (reads directly from Docker) - Minimal footprint (~4MB image) Configuration: - Restricted to local network only (local-only middleware) - Auto-discovery of all running containers - Dark/light theme support Includes quickstart guide and comprehensive documentation.
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
# Dozzle - Simple Docker Log Viewer
|
|
# Docs: https://dozzle.dev/
|
|
# GitHub: https://github.com/amir20/dozzle
|
|
|
|
services:
|
|
dozzle:
|
|
container_name: dozzle
|
|
image: amir20/dozzle:latest
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
environment:
|
|
# UI Settings
|
|
DOZZLE_LEVEL: info
|
|
|
|
# Enable authentication (optional)
|
|
# DOZZLE_USERNAME: admin
|
|
# DOZZLE_PASSWORD: your-password-here
|
|
|
|
# Multi-host support (optional)
|
|
# DOZZLE_REMOTE_HOST: tcp://remote-docker:2375|Remote Server
|
|
|
|
# Filters
|
|
DOZZLE_FILTER: status=running
|
|
|
|
# Base path if behind reverse proxy
|
|
# DOZZLE_BASE: /dozzle
|
|
|
|
networks:
|
|
- homelab
|
|
|
|
labels:
|
|
# Traefik
|
|
traefik.enable: true
|
|
traefik.docker.network: homelab
|
|
|
|
# Web UI
|
|
traefik.http.routers.dozzle.rule: Host(`logs-docker.fig.systems`)
|
|
traefik.http.routers.dozzle.entrypoints: websecure
|
|
traefik.http.routers.dozzle.tls.certresolver: letsencrypt
|
|
traefik.http.services.dozzle.loadbalancer.server.port: 8080
|
|
|
|
# Local LAN only - IP allowlist
|
|
traefik.http.routers.dozzle.middlewares: local-only
|
|
|
|
# Homarr Discovery
|
|
homarr.name: Dozzle (Docker Logs)
|
|
homarr.group: Monitoring
|
|
homarr.icon: mdi:docker
|
|
|
|
networks:
|
|
homelab:
|
|
external: true
|