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='[email protected]/1 [email protected]/3 | [email protected]:32401/1,r https://[email protected]/3,w [email protected]/2,rw' -e CRON_SCHEDULE='*/5 * * * *' -e INITIAL_RUN=true patsissons/plex-sync