feat(navidrome): Added navidrome config and readme content
This commit is contained in:
parent
b5946b3f81
commit
9baebfa13c
5 changed files with 87 additions and 1 deletions
47
Navidrome/deployment.yml
Normal file
47
Navidrome/deployment.yml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: navidrome
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: navidrome
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: navidrome
|
||||
spec:
|
||||
containers:
|
||||
- name: navidrome
|
||||
image: deluan/navidrome:latest
|
||||
resources:
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "500m"
|
||||
ports:
|
||||
- containerPort: 4533
|
||||
volumeMounts:
|
||||
- name: music
|
||||
mountPath: /music
|
||||
readOnly: true
|
||||
- name: navidrome-config
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: music
|
||||
hostPath:
|
||||
path: <music directory host path>
|
||||
- name: navidrome-config
|
||||
persistentVolumeClaim:
|
||||
claimName: navidrome-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: navidrome-config
|
||||
namespace: navidrome
|
||||
spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 128Mi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
Loading…
Add table
Add a link
Reference in a new issue