2023-10-13 21:39:04 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: homarr
|
|
|
|
namespace: homarr-ns
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: homarr
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: homarr
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: homarr
|
2023-10-13 21:48:28 +00:00
|
|
|
image: ghcr.io/ajnart/homarr:latest
|
2023-10-13 21:39:04 +00:00
|
|
|
ports:
|
|
|
|
- containerPort: 7575
|
2023-10-13 22:46:11 +00:00
|
|
|
env:
|
|
|
|
- name: EDIT_MODE_PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: homarr-edit-key
|
|
|
|
key: edit-key
|
2023-10-13 21:39:04 +00:00
|
|
|
volumeMounts:
|
|
|
|
- name: homarr-config
|
|
|
|
mountPath: /app/data/configs
|
|
|
|
- name: homarr-icons
|
|
|
|
mountPath: /app/public/icons
|
|
|
|
volumes:
|
|
|
|
- name: homarr-config
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: homarr-config-pvc
|
|
|
|
- name: homarr-icons
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: homarr-icons-pvc
|