32 lines
700 B
YAML
32 lines
700 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: homarr-deployment
|
|
labels:
|
|
app: homarr
|
|
spec:
|
|
replicas: 0
|
|
selector:
|
|
matchLabels:
|
|
app: homarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: homarr
|
|
spec:
|
|
containers:
|
|
- name: homarr
|
|
image: ghcr.io/homarr-labs/homarr:latest
|
|
ports:
|
|
- containerPort: 80
|
|
envFrom:
|
|
- secretRef:
|
|
name: homarr-secret
|
|
volumeMounts:
|
|
- name: homarr-volume
|
|
mountPath: /appdata
|
|
volumes:
|
|
- name: homarr-volume
|
|
hostPath:
|
|
path: /root/kubernetes/homarr/data/appdata
|