


version: "3.8"services: plex: image: linuxserver/plex container_name: plex network_mode: host environment: - PUID=YOURID - PGID=YOURGID - VERSION=latest - TZ=YOURTIMEZONE volumes: - /volume1/docker/plex:/config - /volume1/data/media:/data/media devices: - /dev/dri:/dev/dri restart: unless-stopped Environment Variables You can now copy and paste the details below into the new text file, it is important you don’t change the spacing as YAML has to be formatted correctly in order to be read by Docker Compose. Open up Text Editor and click on File then New to start a new file.

The next steps can be done either using a code/text editor such as Notepad++ or to keep things simple for this guide we will be using the Synology Text Editor which can be installed from the Package Center. In a nutshell we will be creating a text file (YAML formatted) which tells Docker exactly how we want to set up a specific container. We will be using Docker Compose to set up the Plex container.
