Deployed 6eaa65d3 with MkDocs version: 1.4.2

gh-pages
2023-02-13 21:51:17 +00:00
rodzic 12bf9d9da9
commit 187eff5904
3 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -9,6 +9,7 @@
<span class=w> </span><span class=nt>environment</span><span class=p>:</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">PUID=1000</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">PGID=1000</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">TZ=Etc/UTC</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">VERSION=docker</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">PLEX_CLAIM=</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class=nt>volumes</span><span class=p>:</span>
@ -21,6 +22,7 @@
<span class=w> </span>--net<span class=o>=</span>host<span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>PUID</span><span class=o>=</span><span class=m>1000</span><span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>PGID</span><span class=o>=</span><span class=m>1000</span><span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>TZ</span><span class=o>=</span>Etc/UTC<span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>VERSION</span><span class=o>=</span>docker<span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>PLEX_CLAIM</span><span class=o>=</span><span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-v<span class=w> </span>/path/to/library:/config<span class=w> </span><span class=se>\</span>
@ -28,7 +30,7 @@
<span class=w> </span>-v<span class=w> </span>/path/to/movies:/movies<span class=w> </span><span class=se>\</span>
<span class=w> </span>--restart<span class=w> </span>unless-stopped<span class=w> </span><span class=se>\</span>
<span class=w> </span>lscr.io/linuxserver/plex:latest
</code></pre></div> <h2 id=parameters>Parameters</h2> <p>Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <code>&lt;external&gt;:&lt;internal&gt;</code> respectively. For example, <code>-p 8080:80</code> would expose port <code>80</code> from inside the container to be accessible from the host's IP on port <code>8080</code> outside the container.</p> <h3 id=ports-p>Ports (<code>-p</code>)</h3> <table> <thead> <tr> <th align=center>Parameter</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td></td> <td></td> </tr> </tbody> </table> <h4 id=networking-net>Networking (<code>--net</code>)</h4> <table> <thead> <tr> <th align=center>Parameter</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>--net=host</code></td> <td>Use Host Networking</td> </tr> </tbody> </table> <h3 id=environment-variables-e>Environment Variables (<code>-e</code>)</h3> <table> <thead> <tr> <th align=center>Env</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>PUID=1000</code></td> <td>for UserID - see below for explanation</td> </tr> <tr> <td align=center><code>PGID=1000</code></td> <td>for GroupID - see below for explanation</td> </tr> <tr> <td align=center><code>VERSION=docker</code></td> <td>Set whether to update plex or not - see Application Setup section.</td> </tr> <tr> <td align=center><code>PLEX_CLAIM=</code></td> <td>Optionally you can obtain a claim token from https://plex.tv/claim and input here. Keep in mind that the claim tokens expire within 4 minutes.</td> </tr> </tbody> </table> <h3 id=volume-mappings-v>Volume Mappings (<code>-v</code>)</h3> <table> <thead> <tr> <th align=center>Volume</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>/config</code></td> <td>Plex library location. <em>This can grow very large, 50gb+ is likely for a large collection.</em></td> </tr> <tr> <td align=center><code>/tv</code></td> <td>Media goes here. Add as many as needed e.g. <code>/movies</code>, <code>/tv</code>, etc.</td> </tr> <tr> <td align=center><code>/movies</code></td> <td>Media goes here. Add as many as needed e.g. <code>/movies</code>, <code>/tv</code>, etc.</td> </tr> </tbody> </table> <h4 id=miscellaneous-options>Miscellaneous Options</h4> <table> <thead> <tr> <th align=center>Parameter</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td></td> <td></td> </tr> </tbody> </table> <h2 id=environment-variables-from-files-docker-secrets>Environment variables from files (Docker secrets)</h2> <p>You can set any environment variable from a file by using a special prepend <code>FILE__</code>.</p> <p>As an example:</p> <div class=highlight><pre><span></span><code>-e<span class=w> </span><span class=nv>FILE__PASSWORD</span><span class=o>=</span>/run/secrets/mysecretpassword
</code></pre></div> <h2 id=parameters>Parameters</h2> <p>Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <code>&lt;external&gt;:&lt;internal&gt;</code> respectively. For example, <code>-p 8080:80</code> would expose port <code>80</code> from inside the container to be accessible from the host's IP on port <code>8080</code> outside the container.</p> <h3 id=ports-p>Ports (<code>-p</code>)</h3> <table> <thead> <tr> <th align=center>Parameter</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td></td> <td></td> </tr> </tbody> </table> <h4 id=networking-net>Networking (<code>--net</code>)</h4> <table> <thead> <tr> <th align=center>Parameter</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>--net=host</code></td> <td>Use Host Networking</td> </tr> </tbody> </table> <h3 id=environment-variables-e>Environment Variables (<code>-e</code>)</h3> <table> <thead> <tr> <th align=center>Env</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>PUID=1000</code></td> <td>for UserID - see below for explanation</td> </tr> <tr> <td align=center><code>PGID=1000</code></td> <td>for GroupID - see below for explanation</td> </tr> <tr> <td align=center><code>TZ=Etc/UTC</code></td> <td>specify a timezone to use, see this <a href=https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List>list</a>.</td> </tr> <tr> <td align=center><code>VERSION=docker</code></td> <td>Set whether to update plex or not - see Application Setup section.</td> </tr> <tr> <td align=center><code>PLEX_CLAIM=</code></td> <td>Optionally you can obtain a claim token from https://plex.tv/claim and input here. Keep in mind that the claim tokens expire within 4 minutes.</td> </tr> </tbody> </table> <h3 id=volume-mappings-v>Volume Mappings (<code>-v</code>)</h3> <table> <thead> <tr> <th align=center>Volume</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>/config</code></td> <td>Plex library location. <em>This can grow very large, 50gb+ is likely for a large collection.</em></td> </tr> <tr> <td align=center><code>/tv</code></td> <td>Media goes here. Add as many as needed e.g. <code>/movies</code>, <code>/tv</code>, etc.</td> </tr> <tr> <td align=center><code>/movies</code></td> <td>Media goes here. Add as many as needed e.g. <code>/movies</code>, <code>/tv</code>, etc.</td> </tr> </tbody> </table> <h4 id=miscellaneous-options>Miscellaneous Options</h4> <table> <thead> <tr> <th align=center>Parameter</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td></td> <td></td> </tr> </tbody> </table> <h2 id=environment-variables-from-files-docker-secrets>Environment variables from files (Docker secrets)</h2> <p>You can set any environment variable from a file by using a special prepend <code>FILE__</code>.</p> <p>As an example:</p> <div class=highlight><pre><span></span><code>-e<span class=w> </span><span class=nv>FILE__PASSWORD</span><span class=o>=</span>/run/secrets/mysecretpassword
</code></pre></div> <p>Will set the environment variable <code>PASSWORD</code> based on the contents of the <code>/run/secrets/mysecretpassword</code> file.</p> <h2 id=umask-for-running-applications>Umask for running applications</h2> <p>For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional <code>-e UMASK=022</code> setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up <a href=https://en.wikipedia.org/wiki/Umask>here</a> before asking for support.</p> <h2 id=optional-parameters>Optional Parameters</h2> <p>If you want to run the container in bridge network mode (instead of the recommended host network mode) you will need to specify ports. The <a href=https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/ >official documentation for ports</a> lists 32400 as the only required port. The rest of the ports are optionally used for specific purposes listed in the documentation. If you have not already claimed your server (first time setup) you need to set <code>PLEX_CLAIM</code> to claim a server set up with bridge networking.</p> <div class=highlight><pre><span></span><code> -p 32400:32400 \
-p 1900:1900/udp \
-p 3005:3005 \

File diff suppressed because one or more lines are too long

Plik binarny nie jest wyświetlany.