Sign inSign up

wooos/autoclean

By wooos

•Updated about 3 years ago

According config file, gzip files or rm files.

Image
0

1.3K

wooos/autoclean repository overview

⁠Simple Tags

1.0.0, latest⁠

⁠How to use this image

⁠Create your autoclean config file

Example:

autoclean.yaml

autoclean:
  schedule: '0 * * * *'
  paths:
    - directory: /data/logs
      filename: '*.log'
      command: gzip
      expire: 7
    - directory: /data/logs
      filename: '*.gz'
      command: rm
      expire: 15

$ docker run -d -v autoclean.yaml:/etc/autoclean/autoclean.yaml -v /data/logs:/data/logs wooos/autoclean

Tag summary

Content type

Image

Digest

sha256:50d7c76d4…

Size

47.7 MB

Last updated

almost 4 years ago

docker pull wooos/autoclean