mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-17 03:34:28 +00:00
jellyfin
This commit is contained in:
56
roles/jellyfin/files/jellyfin-deployment.yaml
Normal file
56
roles/jellyfin/files/jellyfin-deployment.yaml
Normal file
@ -0,0 +1,56 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: jellyfin
|
||||
namespace: stack-arr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: jellyfin
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: jellyfin
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
containers:
|
||||
- name: jellyfin
|
||||
image: lscr.io/linuxserver/jellyfin:10.11.2
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- containerPort: 8096
|
||||
name: webui
|
||||
- containerPort: 8920
|
||||
name: webuihttps
|
||||
- containerPort: 1900
|
||||
name: dlnaudp
|
||||
- containerPort: 7359
|
||||
name: discoveryudp
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1013"
|
||||
- name: PGID
|
||||
value: "1013"
|
||||
- name: TZ
|
||||
value: 'Etc/UTC'
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: videos
|
||||
mountPath: /videos
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: jellyfin-config-pvc
|
||||
- name: videos
|
||||
persistentVolumeClaim:
|
||||
claimName: jellyfin-videos-pvc
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user