awesome-compose/plex
Nicolas De loof 667bd9facb
Adopt Compose v2 (#240)
* Adopt Compose v2

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2022-05-10 11:59:25 +02:00
..
.env Adding Plex example 2021-08-07 14:36:28 +02:00
README.md Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00
compose.yaml Adopt Compose v2 (#240) 2022-05-10 11:59:25 +02:00

README.md

Plex

This example provides a base setup for using Plex. More details on how to customize the installation and the compose file can be found in linuxserver documentation. Alternatively, you can use different plex images (e.g. official plex image by plexinc)

Project structure:

.
├── .env
├── compose.yaml
└── README.md

compose.yaml

services:
  plex:
    image: linuxserver/plex:latest

Configuration

.env

Before deploying this setup, you need to configure the following values in the .env file.

  • PLEX_MEDIA_PATH

Hardware Acceleration

Check out the description for Hardware Acceleration support in the documentation.

Deploy with docker compose

When deploying this setup, the web interface will be available on port 32400 (e.g. http://localhost:32400/web).

$ docker compose up -d
Starting plex ... done

Expected result

Check containers are running:

$ docker ps
CONTAINER ID   IMAGE                             COMMAND                  CREATED          STATUS         PORTS                                          NAMES
62fc3ff1f1a0   linuxserver/plex:latest           "/init"                  38 seconds ago   Up 3 seconds                                                  plex

Navigate to http://localhost:32400/web in your web browser to access the plex web interface.

Stop the containers with

$ docker compose down
# To delete all data run:
$ docker compose down -v