Log rotation for a MongoDB running in a docker container

Hi,

I have a MongoDB version 4.2 running in a docker container.
The mongod.log is mapped to a volume, so is visible from the file system.

As my log is too big now - what is the way to enable log rotation for the configuration above?

Thanks