deploy lidarr
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
# Lidarr image maintained by Hotio: ghcr.io/hotio/lidarr.
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: lidarr
|
||||
namespace: lidarr
|
||||
spec:
|
||||
# not critical infrastructure a single pod should be sufficient
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: lidarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: lidarr
|
||||
spec:
|
||||
containers:
|
||||
- name: lidarr
|
||||
image: ghcr.io/hotio/lidarr:release
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Europe/London"
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8686
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: lidarr-config
|
||||
mountPath: /config
|
||||
# Mount each media directory directly instead of using subPath.
|
||||
# The NFS export root is not listable by root-squashed clients, so
|
||||
# kubelet cannot safely prepare subPath mounts from that root.
|
||||
- name: music
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: lidarr-config
|
||||
persistentVolumeClaim:
|
||||
claimName: lidarr-data
|
||||
- name: music
|
||||
nfs:
|
||||
server: nas.ahmza.com
|
||||
path: /srv/media/Music
|
||||
Reference in New Issue
Block a user