k8s/apps/homepage/deployment.yaml

64 lines
1.4 KiB
YAML
Raw Normal View History

2026-03-11 06:38:56 +00:00
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"
2026-03-11 06:43:44 +00:00
- name: HOMEPAGE_ALLOWED_HOSTS
value: 192.168.88.0/24
2026-03-11 06:38:56 +00:00
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