Giter Site home page Giter Site logo

jacobissa / remover Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

REMOVER watches a directory and removes its content

Home Page: https://hub.docker.com/r/jacobissa/remover

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 17.01% Shell 82.99%
docker docker-compose docker-container docker-image dockerfile

remover's Introduction

REMOVER

REMOVER watches a directory and removes its content


Environment Variables

Variable Default Value Description
TZ UTC TIMEZONE Set your time zone to make sure logs rotate at local midnight instead of at UTC midnight. A list of all time zones can be found here.
PATTERN * STRING Set a pattern for the filenames. Only the files and folders that match this pattern will be removed. Default is * which means everything will be removed. The accepted pattern characters can be found here.
INTERVAL 10s NUMBER[SUFFIX] Set the time interval between scans. The NUMBER may be a positive integer or a floating-point Number. The SUFFIX may be s for seconds, m for minutes, h for hours or d for days. When no suffix is specified, it defaults to seconds.

Quick Start

Here is an example for a docker-compose.yml

version: "3.9"

services:
  remover:
    container_name: remover
    image: jacobissa/remover:latest
    volumes:
      - /home/pi/docker/remover/watch:/app/watch
      - /home/pi/docker/remover/logs:/app/logs
    environment:
      - TZ=Europe/Berlin
      - PATTERN=*
      - INTERVAL=5s
    restart: unless-stopped

View on dockerhub or Github

remover's People

Contributors

jacobissa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.