2021-08-07 12:36:28 +00:00
## Plex
This example provides a base setup for using [Plex ](https://www.plex.tv/ ).
More details on how to customize the installation and the compose file can be found in [linuxserver documentation ](https://github.com/linuxserver/docker-plex ).
Alternatively, you can use different plex images (e.g. official plex image by [plexinc ](https://github.com/plexinc/pms-docker ))
Project structure:
```
.
├── .env
2022-05-10 09:59:25 +00:00
├── compose.yaml
2021-08-07 12:36:28 +00:00
└── README.md
```
2022-05-10 09:59:25 +00:00
[_compose.yaml_ ](compose.yaml )
2021-08-07 12:36:28 +00:00
``` yaml
services:
plex:
image: linuxserver/plex:latest
```
## Configuration
### .env
Before deploying this setup, you need to configure the following values in the [.env ](.env ) file.
- PLEX_MEDIA_PATH
### Hardware Acceleration
Check out the description for Hardware Acceleration support in the [documentation ](https://github.com/linuxserver/docker-plex ).
2022-05-10 09:59:25 +00:00
## Deploy with docker compose
2021-08-07 12:36:28 +00:00
When deploying this setup, the web interface will be available on port 32400 (e.g. http://localhost:32400/web).
``` shell
2022-05-10 09:59:25 +00:00
$ docker compose up -d
2021-08-07 12:36:28 +00:00
Starting plex ... done
```
## Expected result
Check containers are running:
```
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2021-12-09 12:09:48 +00:00
62fc3ff1f1a0 linuxserver/plex:latest "/init" 38 seconds ago Up 3 seconds plex
2021-08-07 12:36:28 +00:00
```
Navigate to `http://localhost:32400/web` in your web browser to access the plex web interface.
Stop the containers with
``` shell
2022-05-10 09:59:25 +00:00
$ docker compose down
2021-08-07 12:36:28 +00:00
# To delete all data run:
2022-05-10 09:59:25 +00:00
$ docker compose down -v
2021-08-07 12:36:28 +00:00
```