Skip to content

BenTilbrook/docker-Plex-Cleaner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plex-Cleaner Docker

Build Status

Dokerized version of ngovil21/Plex-Cleaner

First run

docker pull nitrikx/plex-cleaner
docker run -ti -v /path/to/config/folder:/config nitrikx/plex-cleaner

Testing

docker run -ti -v /path/to/config/folder:/config nitrikx/plex-cleaner --test

Execution frequence

# Run every 4 hours
docker run -ti -v /path/to/config/folder:/config -e "EXECUTION_CRON_EXPRESSION=0 */4 * * *" nitrikx/plex-cleaner

# Run once
docker run -ti -v /path/to/config/folder:/config -e "EXECUTION_CRON_EXPRESSION=ONCE" nitrikx/plex-cleaner

plex_delete = false

If you want to delete the file without passing by the Plex Web API, you need to mount your plex data directory:

docker run -ti -v /path/to/config/folder:/config -v /path/to/plex/folder:/plexdata nitrikx/plex-cleaner

and then adjust your configuration:

...
    "default_location": "/plexdata",
...

Logs

You can also export the logs by mounting a volume on /logs:

docker run -ti -v /path/to/config/folder:/config -v /path/to/logs/folder:/logs nitrikx/plex-cleaner

About

Dockerized version of ngovil21/Plex-Cleaner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 78.3%
  • Dockerfile 19.4%
  • Python 2.3%