#487-Cleanup-in-DockerCompose #559
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!559
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#487-Cleanup-in-DockerCompose"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cleaned up the compose.yaml file.
Review on #559
Whats done
Reviewed the cleanup of DockerCompose/compose.yaml for issue #487.
Tested on Windows using Docker Desktop
Focused on checking that the docker compose setup actually works after the cleanup.
Ran:
Tested with:
App starts partially
From logs:
MqttConnectingFailedExceptionerrorsInspected following files
DockerCompose/compose.yaml`
Indentation/code styling
Comments
General code quality
Improvements:
image versions added
healthchecks added
clearer network structure (frontend/backend)
Issues:
several services depend on MQTT but fail to connect
system is not stable after startup
What needs to be done
DockerCompose/compose.yaml
Fix MQTT setup so that:
.env
mosquitto config
all services
use the same credentials
Fix crashing services:
middleware
readTempSensorMockup
readEnergySensor
roomBookingDbHandler
Make sure docker compose up -d results in a fully working system (no restarts)
General
Conclusion
The cleanup improves structure and readability of the compose file.
However, the system does not run correctly in its current state.
Multiple services fail due to MQTT authentication issues.
PR is not ready for merge.
The error described with MQTT and related services not starting has not been observed on my end.

(readEnergySensor has a known issue that is fixed on the team 1 branch)
I have also had others, using Linux machines, try it out, and similar results are shown then.
@a24vinla has now tested the new script on his Windows machine, and it works there as well.