feat(lidarr): Added lidarr config and readme content
This commit is contained in:
parent
a50fd5caca
commit
b5946b3f81
5 changed files with 97 additions and 1 deletions
56
Lidarr/deployment.yml
Normal file
56
Lidarr/deployment.yml
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: lidarr
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: lidarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: lidarr
|
||||
spec:
|
||||
containers:
|
||||
- name: lidarr
|
||||
image: lscr.io/linuxserver/lidarr:latest
|
||||
resources:
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "500m"
|
||||
ports:
|
||||
- containerPort: 8686
|
||||
volumeMounts:
|
||||
- name: lidarr-config
|
||||
mountPath: /config
|
||||
- name: music
|
||||
mountPath: /music
|
||||
- name: downloads
|
||||
mountPath: /music/downloads
|
||||
env:
|
||||
- name: PUID
|
||||
value: <user ID>
|
||||
- name: PGID
|
||||
value: <group ID>
|
||||
volumes:
|
||||
- name: lidarr-config
|
||||
persistentVolumeClaim:
|
||||
claimName: lidarr-config
|
||||
- name: music
|
||||
hostPath:
|
||||
path: <music directory host path>
|
||||
- name: downloads
|
||||
hostPath:
|
||||
path: <downloads directory host path>
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: lidarr-config
|
||||
spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 128Mi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
Loading…
Add table
Add a link
Reference in a new issue