Dozzle - n05urpr1532-MHA-Team/PTS-Team GitHub Wiki
Table of Contents
1. Intro
Dozzle is a log viewer for Docker. It's free. It's small. And it's right in your browser. Oh, did I mention it is also real-time?
While dozzle should work for most, it is not meant to be a full logging solution. For enterprise use, I recommend you look at Loggly, Papertrail or Kibana.
But if you don't want to pay for those services, then you are in luck! Dozzle will be able to capture all logs from your containers and send them in real-time to your browser. Installation is also very easy.
- Taken from the project GitHub page.
2. Setup
Dozzle will run out of the box without any additional configuration needed. The following Environmental Variables are pre-configured but can be altered if desired.
Flag | Env Variable | Default |
---|---|---|
--addr | DOZZLE_ADDR | :8080 |
--base | DOZZLE_BASE | / |
--level | DOZZLE_LEVEL | info |
n/a | DOCKER_API_VERSION | 1.38 |
--tailSize | DOZZLE_TAILSIZE | 300 |
3. Application Access
Protocol | Address | Notes |
---|---|---|
traefik** | dozzle:8080 | Only for Internal App-to-App Communication |
https | dozzle.domain.com | Traefik must be Deployed; Remote Servers |
http | domain.com:8383 | Poor Security Practice - Stop with PTS Port Guard |
http | ipv4:8383 | Ideal Only for Local Servers |
** Ideal for Apps to communicate between with one another. Click Here for more info!
4. Summary
Dozzle is an easy to use plug-and-play Docker log viewer and makes for a great alternative to logarr