Describe why it is important and where it will be useful
In our setup we had the issue that the log of the flow container kept growing and growing up to a 100 GB.
To prevent this is is needed to manually set log rotations for docker in the docker configuration.
Adding the log rotation automatically via the deploy would help to prevent this situation by default and would help users that are not aware of this.
Describe your proposed solution
It looks like the container creation API of docker might support setting the log rotation conf. (https://docs.docker.com/reference/api/engine/version/v1.54/#tag/Container/operation/ContainerCreate)
Not sure if this is the best solution.
Describe alternatives you've considered, if relevant
Seting up a global log rotation configuration.
Additional context
No response
Describe why it is important and where it will be useful
In our setup we had the issue that the log of the flow container kept growing and growing up to a 100 GB.
To prevent this is is needed to manually set log rotations for docker in the docker configuration.
Adding the log rotation automatically via the deploy would help to prevent this situation by default and would help users that are not aware of this.
Describe your proposed solution
It looks like the container creation API of docker might support setting the log rotation conf. (https://docs.docker.com/reference/api/engine/version/v1.54/#tag/Container/operation/ContainerCreate)
Not sure if this is the best solution.
Describe alternatives you've considered, if relevant
Seting up a global log rotation configuration.
Additional context
No response