Setup Dozzle with Auth on Coolify


I have been using Coolify for over a year to self-host on Hetzner and I am a big fan. However, I wanted a lightweight way to see how all of my websites were performing.

I had used Dozzle in the past as a way to see logs, but it has drastically improved and can now show real-time resource information now as well.

Adding authentication to Dozzle is not too challenging, however, I had to cobble together a few resources, so here is a step-by-side that I did for future me.

  1. In your deployed Coolify app, Resources->+ New
  2. Type “dozzle” in search bar
  3. Click Dozzle With Auth
  4. Update Service Name to “dozzle”
  5. Click Save
  6. Click Persistent Storages in the left side bar
  7. Click Files in the tab bar
  8. In a terminal on your local machine, run docker run -it --rm amir20/dozzle generate admin --password YOUR_PASSWORD --email YOUR_EMAIL_ADDRESS and copy the output
  9. Paste the output from your terminal into the Content text area under the Files tab in Coolify
  10. Click Save at the bottom of the text area
  11. (optional) Under Services, click Settings and update Domains to point to whatever domain you set up
  12. Click Start/Restart

Dozzle dashboard:

Dozzle logs:



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *