k8s/apps/arr/homarr/deployment.yaml

78 lines
1.9 KiB
YAML
Raw Permalink Normal View History

2026-03-09 08:17:19 +00:00
apiVersion: apps/v1
kind: Deployment
2026-03-17 08:11:22 +00:00
metadata:
2026-03-09 08:17:19 +00:00
name: homarr
namespace: homarr
labels:
app: homarr
spec:
replicas: 1
selector:
matchLabels:
app: homarr
template:
2026-03-17 08:11:22 +00:00
metadata:
2026-03-09 08:17:19 +00:00
labels:
app: homarr
spec:
containers:
- name: homarr
2026-03-09 08:25:44 +00:00
image: ghcr.io/homarr-labs/homarr:latest
2026-03-09 08:17:19 +00:00
ports:
- name: http
containerPort: 7575
protocol: TCP
env:
2026-03-11 06:23:28 +00:00
- name: SECRET_ENCRYPTION_KEY
value: 191a6166243b3f9d1e3ac0b3efadb01d44074b525d0301193bc09a576bcd8688
2026-03-09 08:17:19 +00:00
- name: TZ
value: "UTC"
- name: BASE_URL
value: "http://homarr.local"
- name: AUTH_PROVIDER
value: "credentials"
- name: AUTH_SECRET
value: "homarr-secret-change-me-in-production"
- name: DATABASE_URL
value: "file:/data/db.sqlite"
2026-03-09 08:17:19 +00:00
volumeMounts:
- name: homarr-config
mountPath: /app/data/configs
- name: homarr-icons
mountPath: /app/public/icons
- name: homarr-data
mountPath: /data
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
livenessProbe:
httpGet:
path: /
port: 7575
initialDelaySeconds: 60
2026-03-09 08:17:19 +00:00
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: 7575
initialDelaySeconds: 45
periodSeconds: 10
timeoutSeconds: 5
2026-03-09 08:17:19 +00:00
failureThreshold: 3
volumes:
- name: homarr-config
persistentVolumeClaim:
claimName: homarr-config
- name: homarr-icons
persistentVolumeClaim:
claimName: homarr-icons
- name: homarr-data
persistentVolumeClaim:
claimName: homarr-data