add app plex

This commit is contained in:
2024-07-24 17:52:27 +10:00
parent 6ff872cdb6
commit e926ece6b5
6 changed files with 80 additions and 14 deletions

View File

@@ -20,23 +20,48 @@ spec:
runAsGroup: 1000
containers:
- name: plex
image: plexinc/pms-docker
image: lscr.io/linuxserver/plex:latest
securityContext:
allowPrivilegeEscalation: false
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Australia/Sydney"
- name: VERSION
value: docker
- name: PLEX_CLAIM
value: "0"
ports:
- protocol: TCP
containerPort: 8088
containerPort: 80
name: http
volumeMounts:
- name: assets
mountPath: /www/assets
- name: plex-config
mountPath: /config
- name: plex-tv
mountPath: /tv
- name: plex-movie
mountPath: /movie
- name: plex-music
mountPath: /music
- name: plex-gv
mountPath: /gv
volumes:
- name: assets
- name: plex-config
hostPath:
path: /mnt/nfs/AppData/homer/www/assets
type: Directory
path: /mnt/nfs/AppData/plex/config
- name: plex-tv
hostPath:
path: /mnt/nfs/AppData/plex/tv
- name: plex-movie
hostPath:
path: /mnt/nfs/AppData/plex/movie
- name: plex-music
hostPath:
path: /mnt/nfs/AppData/plex/music
- name: plex-gv
hostPath:
path: /mnt/nfs/AppData/plex/gv