Add notes for composing Docker for ARM

This commit is contained in:
Kevin Lanni 2020-05-26 18:21:43 -07:00 committed by Graham Booker
parent b8f67a0b3c
commit 76ccdc3a8e
No known key found for this signature in database
GPG Key ID: F023F35DADC3343C

View File

@ -86,6 +86,18 @@ Note: In this configuration, you must do some additional configuration:
- If you wish your Plex Media Server to be accessible outside of your home network, you must manually setup port forwarding on your router to forward to the `ADVERTISE_IP` specified above. By default you can forward port 32400, but if you choose to use a different external port, be sure you configure this in Plex Media Server's `Remote Access` settings. With this type of docker networking, the Plex Media Server is essentially behind two routers and it cannot automatically setup port forwarding on its own.
- (Plex Pass only) After the server has been set up, you should configure the `LAN Networks` preference to contain the network of your LAN. This instructs the Plex Media Server to treat these IP addresses as part of your LAN when applying bandwidth controls. The syntax is the same as the `ALLOWED_NETWORKS` below. For example `192.168.1.0/24,172.16.0.0/16` will allow access to the entire `192.168.1.x` range and the `172.16.x.x` range.
### Using `docker-compose` on ARM devices
The provided `docker-compose` templates use the `plexinc/pms-docker` image which is the amd64 build and won't work on ARM devices.
To use `docker-compose` with ARM devices, you must first build one of the ARM images locally.
```sh
docker build -t plexinc/pms-docker:latest -f Dockerfile.armv7 # or arm64
```
Then you can `docker-compose up`.
## Parameters
- `-p 32400:32400/tcp` Forwards port 32400 from the host to the container. This is the primary port that Plex uses for communication and is required for Plex Media Server to operate.