Private Log Viewer
Last updated
Was this helpful?
Last updated
Was this helpful?
For enhanced security, you may want to restrict log access to specific individuals. You can configure a private log viewer in your Docker Compose file using open-source tools like .
Generate Authentication Credentials
On your local machine, generate a Dozzle user authority token using the following command:
This example creates a user with:
Username: "Admin"
Password: "secret"
Role: "admin"
Configure Dozzle in Docker Compose
Add the following services to your Docker Compose file:
Access Protected Logs
Once deployed, you can access the logs through the container's public endpoint using the credentials you configured. Only authorized users with the correct username and password will be able to view the logs.