feat: add configurable S3 object storage
This commit is contained in:
46
docker/storage/lifecycle.json
Normal file
46
docker/storage/lifecycle.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"Rules": [
|
||||
{
|
||||
"ID": "results-1d-safety",
|
||||
"Status": "Enabled",
|
||||
"Filter": { "Prefix": "results/1d/" },
|
||||
"Expiration": { "Days": 3 }
|
||||
},
|
||||
{
|
||||
"ID": "archives-1d-safety",
|
||||
"Status": "Enabled",
|
||||
"Filter": { "Prefix": "archives/1d/" },
|
||||
"Expiration": { "Days": 3 }
|
||||
},
|
||||
{
|
||||
"ID": "results-7d-safety",
|
||||
"Status": "Enabled",
|
||||
"Filter": { "Prefix": "results/7d/" },
|
||||
"Expiration": { "Days": 9 }
|
||||
},
|
||||
{
|
||||
"ID": "archives-7d-safety",
|
||||
"Status": "Enabled",
|
||||
"Filter": { "Prefix": "archives/7d/" },
|
||||
"Expiration": { "Days": 9 }
|
||||
},
|
||||
{
|
||||
"ID": "results-15d-safety",
|
||||
"Status": "Enabled",
|
||||
"Filter": { "Prefix": "results/15d/" },
|
||||
"Expiration": { "Days": 17 }
|
||||
},
|
||||
{
|
||||
"ID": "archives-15d-safety",
|
||||
"Status": "Enabled",
|
||||
"Filter": { "Prefix": "archives/15d/" },
|
||||
"Expiration": { "Days": 17 }
|
||||
},
|
||||
{
|
||||
"ID": "abort-incomplete-multipart",
|
||||
"Status": "Enabled",
|
||||
"Filter": { "Prefix": "" },
|
||||
"AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 1 }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user