Merge pull request #227 from linuxserver/ports

EXPOSE all documented ports
pull/232/head 1.19.3.2764-ef515a800-ls93
driz 5 years ago committed by GitHub
commit 3ac14ffef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,5 +52,5 @@ RUN \
COPY root/ / COPY root/ /
# ports and volumes # ports and volumes
EXPOSE 32400/tcp 3005/tcp 8324/tcp 32469/tcp 1900/udp 32410/udp 32412/udp 32413/udp 32414/udp EXPOSE 32400/tcp 1900/udp 3005/tcp 5353/udp 8324/tcp 32410/udp 32412/udp 32413/udp 32414/udp 32469/tcp
VOLUME /config VOLUME /config

@ -49,5 +49,5 @@ RUN \
COPY root/ / COPY root/ /
# ports and volumes # ports and volumes
EXPOSE 32400/tcp 3005/tcp 8324/tcp 32469/tcp 1900/udp 32410/udp 32412/udp 32413/udp 32414/udp EXPOSE 32400/tcp 1900/udp 3005/tcp 5353/udp 8324/tcp 32410/udp 32412/udp 32413/udp 32414/udp 32469/tcp
VOLUME /config VOLUME /config

@ -49,5 +49,5 @@ RUN \
COPY root/ / COPY root/ /
# ports and volumes # ports and volumes
EXPOSE 32400/tcp 3005/tcp 8324/tcp 32469/tcp 1900/udp 32410/udp 32412/udp 32413/udp 32414/udp EXPOSE 32400/tcp 1900/udp 3005/tcp 5353/udp 8324/tcp 32410/udp 32412/udp 32413/udp 32414/udp 32469/tcp
VOLUME /config VOLUME /config

@ -133,15 +133,23 @@ Will set the environment variable `PASSWORD` based on the contents of the `/run/
## Optional Parameters ## Optional Parameters
*Special note* - If you'd like to run Plex without requiring `--net=host` (`NOT recommended`) then you will need the following ports in your `docker create` command (you need to set PLEX_CLAIM to claim a server set up with bridge networking): 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 [official documentation for ports](https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/) 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 `PLEX_CLAIM` to claim a server set up with bridge networking.
``` ```
-p 32400:32400 \ -p 32400:32400 \
-p 32400:32400/udp \ -p 1900:1900/udp \
-p 32469:32469 \ -p 3005:3005 \
-p 32469:32469/udp \
-p 5353:5353/udp \ -p 5353:5353/udp \
-p 1900:1900/udp -p 8324:8324 \
-p 32410:32410/udp \
-p 32412:32412/udp \
-p 32413:32413/udp \
-p 32414:32414/udp \
-p 32469:32469
``` ```
The application accepts a series of environment variables to further customize itself on boot: The application accepts a series of environment variables to further customize itself on boot:
@ -273,6 +281,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **03.05.20:** - Update exposed ports and example docs for bridge mode.
* **23.03.20:** - Remove udev hack (no longer needed), suppress uuid error in log during first start. * **23.03.20:** - Remove udev hack (no longer needed), suppress uuid error in log during first start.
* **04.12.19:** - Add variable for setting PLEX_CLAIM. Remove `/transcode` volume mapping as it is now set via plex gui and defaults to a location under `/config`. * **04.12.19:** - Add variable for setting PLEX_CLAIM. Remove `/transcode` volume mapping as it is now set via plex gui and defaults to a location under `/config`.
* **06.08.19:** - Add variable for setting UMASK. * **06.08.19:** - Add variable for setting UMASK.

@ -36,15 +36,23 @@ opt_param_env_vars:
- { env_var: "PLEX_CLAIM", env_value: "", desc: "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."} - { env_var: "PLEX_CLAIM", env_value: "", desc: "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."}
optional_parameters: | optional_parameters: |
*Special note* - If you'd like to run Plex without requiring `--net=host` (`NOT recommended`) then you will need the following ports in your `docker create` command (you need to set PLEX_CLAIM to claim a server set up with bridge networking): 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 [official documentation for ports](https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/) 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 `PLEX_CLAIM` to claim a server set up with bridge networking.
``` ```
-p 32400:32400 \ -p 32400:32400 \
-p 32400:32400/udp \ -p 1900:1900/udp \
-p 32469:32469 \ -p 3005:3005 \
-p 32469:32469/udp \
-p 5353:5353/udp \ -p 5353:5353/udp \
-p 1900:1900/udp -p 8324:8324 \
-p 32410:32410/udp \
-p 32412:32412/udp \
-p 32413:32413/udp \
-p 32414:32414/udp \
-p 32469:32469
``` ```
The application accepts a series of environment variables to further customize itself on boot: The application accepts a series of environment variables to further customize itself on boot:
@ -92,6 +100,7 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { date: "03.05.20:", desc: "Update exposed ports and example docs for bridge mode." }
- { date: "23.03.20:", desc: "Remove udev hack (no longer needed), suppress uuid error in log during first start." } - { date: "23.03.20:", desc: "Remove udev hack (no longer needed), suppress uuid error in log during first start." }
- { date: "04.12.19:", desc: "Add variable for setting PLEX_CLAIM. Remove `/transcode` volume mapping as it is now set via plex gui and defaults to a location under `/config`." } - { date: "04.12.19:", desc: "Add variable for setting PLEX_CLAIM. Remove `/transcode` volume mapping as it is now set via plex gui and defaults to a location under `/config`." }
- { date: "06.08.19:", desc: "Add variable for setting UMASK." } - { date: "06.08.19:", desc: "Add variable for setting UMASK." }

Loading…
Cancel
Save