k8s/apps/homepage/deployment.yaml
2026-03-11 19:47:07 +13:00

64 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
***REMOVED***
name: homepage
namespace: homepage
labels:
app: homepage
spec:
replicas: 1
selector:
matchLabels:
app: homepage
template:
***REMOVED***
labels:
app: homepage
spec:
containers:
- name: homepage
image: ghcr.io/gethomepage/homepage:latest
ports:
- name: http
containerPort: 3000
protocol: TCP
env:
- name: TZ
value: "Pacific/Auckland"
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: HOMEPAGE_ALLOWED_HOSTS
value: "*"
volumeMounts:
- name: config
mountPath: /app/config
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
livenessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
volumes:
- name: config
persistentVolumeClaim:
claimName: homepage-config