Update docker.md

This commit is contained in:
Chaz Larson 2022-05-07 10:12:08 -05:00 committed by meisnate12
parent 1dff8841fc
commit 401ca2d551

View file

@ -229,7 +229,7 @@ From here on in, when I say "open the config file", I mean the `nano` or `notepa
Scroll down a bit and update the three things you just collected; Plex URL, Plex Token, and TMDb API Key. Scroll down a bit and update the three things you just collected; Plex URL, Plex Token, and TMDb API Key.
``` ```yaml
plex: # Can be individually specified per library as well plex: # Can be individually specified per library as well
url: http://bing.bang.boing <<< ENTER YOUR PLEX URL url: http://bing.bang.boing <<< ENTER YOUR PLEX URL
token: XXXXXXXXXXXXXXXXXXXX <<< ENTER YOUR PLEX TOKEN token: XXXXXXXXXXXXXXXXXXXX <<< ENTER YOUR PLEX TOKEN
@ -244,7 +244,7 @@ tmdb:
Now scroll up and look at the top section: Now scroll up and look at the top section:
``` ```yaml
libraries: # Library mappings must have a colon (:) placed after them libraries: # Library mappings must have a colon (:) placed after them
Movies: Movies:
metadata_path: metadata_path:
@ -265,11 +265,11 @@ You will ultimately need an entry here for each of the libraries on which you wa
For now, delete the “TV Shows” and “Anime” sections and change the name of the “Movies” section to something that is NOT included in your Plex. Im using “Movies-HIDDEN": For now, delete the “TV Shows” and “Anime” sections and change the name of the “Movies” section to something that is NOT included in your Plex. Im using “Movies-HIDDEN":
``` ```yaml
libraries: # Library mappings must have a colon (:) placed after them libraries:
Movies-HIDDEN: Movies-HIDDEN: ## <<< CHANGE THIS LINE
metadata_path: metadata_path:
- file: config/Movies.yml # You have to create this file the other are online - file: config/Movies.yml
- git: meisnate12/MovieCharts - git: meisnate12/MovieCharts
``` ```
@ -332,11 +332,11 @@ Open the config file again and change "Movies-HIDDEN" [or whatever you used in t
My Movies library is called “Main Movies", so mine looks like this: My Movies library is called “Main Movies", so mine looks like this:
``` ```yaml
libraries: # Library mappings must have a colon (:) placed after them libraries:
Main Movies: Main Movies: ## <<< CHANGE THIS LINE
metadata_path: metadata_path:
- file: config/Main Movies.yml # You have to create this file the other are online - file: config/Main Movies.yml ## <<< CHANGE THIS LINE
``` ```
NOTE: the matching naming of Library and YML is not actually required, I'm doing it here for clarity. NOTE: the matching naming of Library and YML is not actually required, I'm doing it here for clarity.
@ -424,7 +424,7 @@ First, open the metadata file [this will create the file if it doesn't already e
In this file, add the following, exactly as it is shown here: In this file, add the following, exactly as it is shown here:
``` ```yaml
templates: templates:
Actor: Actor:
actor: tmdb actor: tmdb
@ -455,7 +455,7 @@ This is going to create three collections. One contains movies that feature Bil
The first one is based on a template, so if you wanted to create a collection for another actor you just have to copy and edit those two lines [the ID comes from TMDb]. All the other config details come from the template. The first one is based on a template, so if you wanted to create a collection for another actor you just have to copy and edit those two lines [the ID comes from TMDb]. All the other config details come from the template.
``` ```yaml
Amy Adams: Amy Adams:
template: {name: Actor, person: 9273} template: {name: Actor, person: 9273}
``` ```
@ -511,7 +511,7 @@ If you download any of the missing 22 movies on the Vulture list, running PMM wo
Delete these three collections if you want, from both Plex and the metadata file. If you add that “git” line you removed back into the config file: Delete these three collections if you want, from both Plex and the metadata file. If you add that “git” line you removed back into the config file:
``` ```yaml
- git: meisnate12/MovieCharts - git: meisnate12/MovieCharts
``` ```
@ -542,4 +542,4 @@ docker run -d \
That will create a container that will run in the background until you explicitly stop it, surviving reboots, and waking up every morning at 3AM to process collections. That will create a container that will run in the background until you explicitly stop it, surviving reboots, and waking up every morning at 3AM to process collections.
There are of course other flags you can add, which are discussed elsewhere in the wiki, but this is the minimal command to create this container. There are of course other flags you can add, which are discussed elsewhere in the wiki, but this is the minimal command to create this container.