add homepage dashboard

This commit is contained in:
rezayaghobi-dev
2026-09-20 11:08:40 +03:30
parent 45c7d53b6a
commit 3eb4138881
5 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: homepage-config
data:
settings.yaml: |
title: Homelab
services.yaml: |
- Infrastructure:
- ArgoCD:
href: https://argocd.home.server
description: GitOps
- Traefik:
href: https://traefik.home.server
description: Reverse proxy
widgets.yaml: |
[]
bookmarks.yaml: |
[]

View File

@@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: homepage
spec:
replicas: 3
selector:
matchLabels:
app: homepage
template:
metadata:
labels:
app: homepage
spec:
containers:
- name: homepage
image: ghcr.io/gethomepage/homepage:latest
ports:
- containerPort: 3000
env:
- name: HOMEPAGE_ALLOWED_HOSTS
value: "homepage.home.server"
volumeMounts:
- name: config
mountPath: /app/config/settings.yaml
subPath: settings.yaml
- name: config
mountPath: /app/config/services.yaml
subPath: services.yaml
- name: config
mountPath: /app/config/widgets.yaml
subPath: widgets.yaml
- name: config
mountPath: /app/config/bookmarks.yaml
subPath: bookmarks.yaml
volumes:
- name: config
configMap:
name: homepage-config

View File

View File

@@ -0,0 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: homepage
spec:
selector:
app: homepage
ports:
- port: 80
targetPort: 3000