Skip to content

vanvalenlab/kiosk-bucket-monitor

Repository files navigation

DeepCell Kiosk Banner

Build Status Coverage Status License

The kiosk-bucket-monitor (and more specifically the StaleFileBucketMonitor) is used to remove files from the DeepCell Kiosk cloud storage bucket. It is intended as a cost-saving mechanism that prevents files from being stored in the bucket indefinitely.

This repository is part of the DeepCell Kiosk. More information about the Kiosk project is available through Read the Docs and our FAQ page.

Configuration

The bucket monitor is configured using environment variables. Please find a table of all environment variables and their descriptions below.

Name Description Default Value
STORAGE_BUCKET REQUIRED: The name of the bucket to monitor. ""
AGE_THRESHOLD Files are removed if they are older than this many seconds. 259200
INTERVAL How frequently the bucket is monitored, in seconds. 21600
PREFIXES A comma separated string of the bucket's directories to monitor. "uploads/,output/"

Contribute

We welcome contributions to the kiosk-console and its associated projects. If you are interested, please refer to our Developer Documentation, Code of Conduct and Contributing Guidelines.

License

This software is license under a modified Apache-2.0 license. See LICENSE for full details.

Copyright

Copyright © 2018-2020 The Van Valen Lab at the California Institute of Technology (Caltech), with support from the Paul Allen Family Foundation, Google, & National Institutes of Health (NIH) under Grant U24CA224309-01. All rights reserved.