docker-compose up -d --build
In a browser go to http://localhost:3000/message and fill a form with your name and message.
docker-compose logs app
docker run --rm -it mongo:7.0.6 mongosh "mongodb://host.docker.internal:27017/homework" --eval "db.messages.find({}).pretty()"
docker-compose down -v