wiremock / wiremock-docker

Wiremock Docker image
https://hub.docker.com/r/wiremock/wiremock
MIT License
218 stars 101 forks source link

--verbose parameter causing disk space problems #39

Closed szymon-owczarzak closed 3 years ago

szymon-owczarzak commented 3 years ago

When using --verbose parameter to run rodolpheche/wiremock container and if the container runs long enough it will use all available space from the server for creating log files. We had this problem in app i work on: https://github.com/wttech/cogboard/pull/327/files

Please consider adding a TIP about this to your read.me file and happy new year :)

rodolpheche commented 3 years ago

This is not a problem, you must have used the default Docker logging options.

You could limit the space used by the container logging file, you just have to setup the JSON File logging driver options. This might help you : https://docs.docker.com/config/containers/logging/json-file/ Docker Compose syntax : https://docs.docker.com/compose/compose-file/compose-file-v3/#logging

szymon-owczarzak commented 3 years ago

Thanks, I will try that 👍