Comment on Rant! 100GB Log file in Nextcloud.

<- View Parent
scrubbles@poptalk.scrubbles.tech ⁨2⁩ ⁨months⁩ ago

Persistent storage should never be used for logging in docker. Nextcloud is one of the worst offenders of breaking docker conventions I’ve found, this is just one of the many ways they prove they don’t understand docker.

Logs should simply be logged to stdout, which will be read by docker or by a logging framework. There should never be “log files” for a container, as it should be immutable, with persistent volumes only being used for configuration or application state.

source
Sort:hotnewtop