How to Fix Nginx 502 Bad Gateway in Docker Compose - Fix Nginx 502 Bad Gateway in Docker Containers-Port Already in Use by Another Container – Docker Compose Solution

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.