jellyfin and pegasus in same group
This commit is contained in:
parent
938f6b336c
commit
a3a5b1a9bd
@ -36,15 +36,6 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8096
|
containerPort: 8096
|
||||||
command: ["/bin/sh","-lc"]
|
|
||||||
args:
|
|
||||||
- >
|
|
||||||
set -e;
|
|
||||||
umask 0002;
|
|
||||||
BIN="$(command -v jellyfin || true)";
|
|
||||||
if [ -z "$BIN" ] && [ -x /usr/lib/jellyfin/bin/jellyfin ]; then BIN=/usr/lib/jellyfin/bin/jellyfin; fi;
|
|
||||||
if [ -z "$BIN" ]; then echo "jellyfin binary not found" >&2; ls -la /usr/lib/jellyfin/bin || true; exit 127; fi;
|
|
||||||
exec "$BIN" --datadir /config --cachedir /cache --ffmpeg /usr/lib/jellyfin-ffmpeg/ffmpeg
|
|
||||||
env:
|
env:
|
||||||
- name: NVIDIA_DRIVER_CAPABILITIES
|
- name: NVIDIA_DRIVER_CAPABILITIES
|
||||||
value: "compute,video,utility"
|
value: "compute,video,utility"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user