Compare commits
27 commits
Author | SHA1 | Date | |
---|---|---|---|
Kaan Barmore-Genç | 775d5ec976 | ||
Kaan Barmore-Genç | fd3576ad14 | ||
Kaan Barmore-Genç | e387e1c49d | ||
Kaan Barmore-Genç | 2eb6ee5858 | ||
Kaan Barmore-Genç | 48add5e5a3 | ||
Kaan Barmore-Genç | d3b7866905 | ||
Kaan Barmore-Genç | 51d5427e10 | ||
8c9a441fcc | |||
4db9e2d15a | |||
38724be012 | |||
340e998d2c | |||
17e99850dc | |||
51a03f1928 | |||
d9e9110e27 | |||
f19c597c2a | |||
c8d4a702ce | |||
1363a9e16e | |||
65fe49b504 | |||
46a1230a8d | |||
5b8ce26ffd | |||
c696f35feb | |||
a99a99639d | |||
25786eb58c | |||
ff79f6131c | |||
a520f4909f | |||
0e7e4cd0f6 | |||
e83521a723 |
1
.github/dependabot.yml
vendored
1
.github/dependabot.yml
vendored
|
@ -10,7 +10,6 @@ updates:
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
time: "02:30"
|
time: "02:30"
|
||||||
target-branch: "develop"
|
|
||||||
labels:
|
labels:
|
||||||
- "docker dependency update"
|
- "docker dependency update"
|
||||||
|
|
||||||
|
|
16
.woodpecker.yml
Normal file
16
.woodpecker.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
secrets: [docker_username, docker_password]
|
||||||
|
settings:
|
||||||
|
repo: kaan/docker-plex-amd
|
||||||
|
registry: https://gitea.bgenc.net
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
tag: latest
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- manual
|
||||||
|
- push
|
||||||
|
- cron
|
||||||
|
branch: master
|
|
@ -62,7 +62,7 @@ RUN apk add xf86-video-amdgpu linux-firmware-amdgpu --no-cache --update-cache \
|
||||||
&& cp -a /lib/libz*.so* "$OUTPUT/usr/lib"
|
&& cp -a /lib/libz*.so* "$OUTPUT/usr/lib"
|
||||||
|
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
FROM ghcr.io/linuxserver/plex:1.29.0
|
FROM ghcr.io/linuxserver/plex:1.32.1
|
||||||
ARG OUTPUT
|
ARG OUTPUT
|
||||||
|
|
||||||
# Install AMD drivers for HW decoding
|
# Install AMD drivers for HW decoding
|
||||||
|
|
44
README.md
Normal file
44
README.md
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
## 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
|
||||||
|
- 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/)
|
||||||
|
|
||||||
|
docker-compose example:
|
||||||
|
``` 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
|
||||||
|
- ALLOWED_NETWORKS=${YOUR_NETWORK}
|
||||||
|
- HOSTNAME=${YOUR_HOST_NAME}
|
||||||
|
- VERSION=docker
|
||||||
|
volumes:
|
||||||
|
- ./config:/config
|
||||||
|
- /dev/shm:/transcode
|
||||||
|
- /your/media:/your/media
|
||||||
|
```
|
Loading…
Reference in a new issue