57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
annotations:
|
||
|
|
kompose.cmd: kompose convert -f compose-jellyfin.yaml
|
||
|
|
kompose.version: 1.38.0 (HEAD)
|
||
|
|
labels:
|
||
|
|
io.kompose.service: jellyfin
|
||
|
|
name: jellyfin
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
io.kompose.service: jellyfin
|
||
|
|
strategy:
|
||
|
|
type: Recreate
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
annotations:
|
||
|
|
kompose.cmd: kompose convert -f compose-jellyfin.yaml
|
||
|
|
kompose.version: 1.38.0 (HEAD)
|
||
|
|
labels:
|
||
|
|
io.kompose.service: jellyfin
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- env:
|
||
|
|
- name: PGID
|
||
|
|
value: "3000"
|
||
|
|
- name: PUID
|
||
|
|
value: "3000"
|
||
|
|
image: jellyfin/jellyfin:latest
|
||
|
|
name: jellyfin
|
||
|
|
ports:
|
||
|
|
- containerPort: 8096
|
||
|
|
protocol: TCP
|
||
|
|
volumeMounts:
|
||
|
|
- mountPath: /config
|
||
|
|
name: jellyfin-config
|
||
|
|
- mountPath: /cache
|
||
|
|
name: jellyfin-cache
|
||
|
|
- mountPath: /media
|
||
|
|
name: yarr
|
||
|
|
restartPolicy: Always
|
||
|
|
volumes:
|
||
|
|
- name: jellyfin-config
|
||
|
|
nfs:
|
||
|
|
server: birdfeeder2.home.nest
|
||
|
|
path: /k3s/jellyfin/config
|
||
|
|
- name: jellyfin-cache
|
||
|
|
nfs:
|
||
|
|
server: birdfeeder2.home.nest
|
||
|
|
path: /k3s/jellyfin/cache
|
||
|
|
- name: yarr
|
||
|
|
nfs:
|
||
|
|
server: birdfeeder1.home.nest
|
||
|
|
path: /yarr/media
|