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.
शामिल सर्विसेज़
dozzle
amir20/dozzle:latest
एनवायरनमेंट वेरिएबल्स:
जनरेटेड 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
त्वरित जानकारी
- सर्विसेज़
- 1
- नेटवर्क्स
- 1
- वॉल्यूम्स
- 0
कब उपयोग करें
यह टेम्पलेट एक dozzle एनवायरनमेंट सेटअप के लिए आदर्श है। सभी सर्विसेज़ healthchecks, रिसोर्स लिमिट्स और उचित डिफ़ॉल्ट सेटिंग्स के साथ पहले से कॉन्फ़िगर्ड हैं। प्रोडक्शन में डिप्लॉय करने से पहले एनवायरनमेंट वेरिएबल्स कस्टमाइज़ करें।
सुझाव
- डिप्लॉय करने से पहले सभी डिफ़ॉल्ट पासवर्ड बदलें
- अपने हार्डवेयर के अनुसार रिसोर्स लिमिट्स की समीक्षा करें
- प्रोडक्शन HTTPS के लिए रिवर्स प्रॉक्सी जोड़ें
- डेटा वॉल्यूम्स के लिए बैकअप रणनीतियाँ कॉन्फ़िगर करें