Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.39 KB

README.md

File metadata and controls

17 lines (11 loc) · 1.39 KB

Docker Containers

Docker Version Docker Image Docker Pulls Docker Stars License MIT

plex-sync running in a container as a cron job.

Usage

  • SECTION_MAPS is the important environment variable to set, it uses the same syntax that plex-sync uses, but allows multiple mappings to be configured by separating them with a | as shown in the example below.
  • CRON_SCHEDULE allows you to configure a non-default schedule to run the sync (default is every hour, 0 * * * *)
  • INITIAL_RUN will run plex-sync before starting cron if set to anything.

Example

docker run -d -e SECTION_MAPS='xxxxxx@10.0.1.5/1 zzzzzz@10.0.1.10/3 | xxxx@10.0.1.6:32401/1,r https://yyyy@10.0.1.7/3,w zzzz@10.0.1.8/2,rw' -e CRON_SCHEDULE='*/5 * * * *' -e INITIAL_RUN=true patsissons/plex-sync