Skip to content

Postal running image size growing and filling all the disk space #3234

Discussion options

You must be logged in to vote

This is explained here: https://docs.postalserver.io/features/logging#limiting-the-size-of-logs

Docker cam be configured to limit the size of the log files it stores. To avoid storing large numbers of log files, you should configure this appropriately. This can be achieved by setting a maximum size in your /etc/docker/daemon.json file.

{
  "log-driver": "local",
  "log-opts": {
    "max-size": "100m"
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by willpower232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3233 on November 18, 2024 09:20.