docker-plex-amd/README.md

45 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2022-10-07 22:01:53 -05:00
## Plex Docker with AMD/VAAPI support.
A Plex Media Server docker container that enables VAAPI support for AMDGPU hardware accelerated decoding.
This image uses [Linuxserver/Plex](https://hub.docker.com/r/linuxserver/plex) as its base image to ensure that Plex stays up-to-date
## Usage
2022-10-07 23:06:02 -05:00
- See [Linuxserver's Parameters](https://github.com/linuxserver/docker-plex#Parameters) for more information on parameters.
- `VERSION=docker` must be used. Using `latest` will create errors.
- I use `/dev/shm/` as a RAMDISK for transcoding set to half the amount of my total RAM. Info on resizing [here](https://masukkhan.wordpress.com/2015/12/09/resize-devshm-filesystem-in-linux/)
2022-10-07 22:01:53 -05:00
2022-10-07 23:06:02 -05:00
docker-compose example:
2022-10-07 22:01:53 -05:00
``` docker-compose
services:
plex:
image: ghcr.io/hexeth/docker-plex-amd:master
privileged: true
container_name: plex
devices:
- /dev/dri:/dev/dri
ports:
- 32400:32400
- 3005:3005
- 5353:5353/udp
- 8324:8324
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
- 32469:32469
environment:
- PGID=1000
- PUID=1000
- TZ=${TZ}
- PLEX_CLAIM=${YOUR_PLEX_CLAIM}
- ADVERTISE_IP=http://${YOUR_IP}:32400
2022-10-07 22:30:17 -05:00
- ALLOWED_NETWORKS=${YOUR_NETWORK}
2022-10-07 22:01:53 -05:00
- HOSTNAME=${YOUR_HOST_NAME}
- VERSION=docker
volumes:
- ./config:/config
- /dev/shm:/transcode
2022-10-07 22:30:17 -05:00
- /your/media:/your/media
2022-10-07 22:01:53 -05:00
```