Skip to content
Snippets Groups Projects
Erick Hitter's avatar
Erick Hitter authored
Fix dependency path

See merge request !4
df3da6f9

s3-object-expirer

Expire (delete) S3 objects older than a given age.

Usage

  1. Copy ./config/example.s3cfg to ./config/.s3cfg and enter the required details. Feel free to add any additional s3cmd options you desire.
  2. Create ./config/bucket with the name of the bucket to purge.
  3. Create ./config/expire_age_days with a number that specifies the maximum age of items in the bucket. Anything created more than that many days ago will be purged.
  4. Start the monitor: docker-compose up -d