added gethomepage

This commit is contained in:
JethroC Admin 2026-03-11 19:38:56 +13:00
parent fd6b20ecd4
commit e795c39b6f
7 changed files with 120 additions and 1 deletions

View file

@ -0,0 +1,61 @@
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"
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

View file

@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
***REMOVED***
name: homepage
namespace: homepage
spec:
rules:
- host: homepage.local
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: homepage
port:
number: 80

View file

@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- pvc.yaml
- deployment.yaml
- service.yaml
- ingress.yaml

View file

@ -0,0 +1,4 @@
***REMOVED***
kind: Namespace
***REMOVED***
name: homepage

12
apps/homepage/pvc.yaml Normal file
View file

@ -0,0 +1,12 @@
***REMOVED***
kind: PersistentVolumeClaim
***REMOVED***
name: homepage-config
namespace: homepage
spec:
accessModes:
- ReadWriteOnce
storageClassName: ceph-rbd
resources:
requests:
storage: 1Gi

View file

@ -0,0 +1,16 @@
***REMOVED***
kind: Service
***REMOVED***
name: homepage
namespace: homepage
labels:
app: homepage
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 3000
protocol: TCP
name: http
selector:
app: homepage

View file

@ -6,3 +6,4 @@ resources:
- fireflyiii
- forgejo
- monitoring
- homepage