BED-5495: Add Dozzle Container Log Viewer to Development Environment #1177
+68
−19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the Dozzle container log viewer to our development environment and updates the README.md with documentation about this new tool. Dozzle provides a web-based interface for viewing and searching container logs,
making it easier for developers to debug issues without using command-line tools.
The changes include:
1 Adding a new Dozzle service to docker-compose.dev.yml
2 Standardizing volume definitions in docker-compose.dev.yml using explicit empty object notation
3 Adding documentation about Dozzle to the README.md under a new "Development Tools" section
Motivation and Context
This PR addresses: BED-5495
Developers need to use command-line tools like docker logs to view container output, which can be cumbersome when working with multiple services. Dozzle provides a clean web interface that allows developers to view
logs from all containers in real-time, filter logs by container, search within logs, and download logs for sharing or offline analysis.
The standardization of volume definitions improves readability and follows Docker Compose best practices.
Why is this change required? What problem does it solve?
How Has This Been Tested?
Testing included:
• Starting the development environment with docker-compose -f docker-compose.dev.yml up
• Verifying that the Dozzle service starts correctly
• Accessing the Dozzle web interface at http://dozzle.localhost
• Confirming that logs from all containers are visible and searchable
• Testing the configuration with custom environment variables (BH_DOZZLE_HOSTNAME and BH_DOZZLE_PORT)
• Verifying that all volumes function correctly with the updated syntax
Screenshots:
Types of changes
• Chore (a change that does not modify the application functionality)
• New feature (non-breaking change which adds functionality)
Checklist: