iay / mdq-server-docker

mdq-server deployment as Docker containers
1 stars 3 forks source link

set logging options for running containers #21

Closed iay closed 7 years ago

iay commented 7 years ago

The containers set up by the standard scripts might end up running for a long time (we had a recent instance of one running for nearly 15 months) so Docker's default behaviour of saving all application stdout and stderr output to a file forever isn't ideal.

We should use the docker run logging options to limit the space taken up long term.

iay commented 7 years ago

Fixed in commit 1fe5148a89cd7c9540f5608bb12f24f09f023365.

Limit to 3 files of 10MB each.