From 6c6385751776b16a85dc3cbe24b1073fed7e37bf Mon Sep 17 00:00:00 2001 From: root Date: Wed, 23 Oct 2024 17:31:30 +0000 Subject: [PATCH] Initial commit --- .gitignore | 1 + bookmarks.yaml | 51 ++++++++++++ custom.css | 11 +++ custom.js | 1 + docker.yaml | 27 ++++++ kubernetes.yaml | 2 + services.yaml | 212 ++++++++++++++++++++++++++++++++++++++++++++++++ settings.yaml | 13 +++ widgets.yaml | 43 ++++++++++ 9 files changed, 361 insertions(+) create mode 100644 .gitignore create mode 100644 bookmarks.yaml create mode 100644 custom.css create mode 100644 custom.js create mode 100644 docker.yaml create mode 100644 kubernetes.yaml create mode 100644 services.yaml create mode 100644 settings.yaml create mode 100644 widgets.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..98d8a5a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +logs diff --git a/bookmarks.yaml b/bookmarks.yaml new file mode 100644 index 0000000..be5acb9 --- /dev/null +++ b/bookmarks.yaml @@ -0,0 +1,51 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/latest/configs/bookmarks + +- Networking: + - Cloudflare: + - icon: cloudflare.png + href: https://dash.cloudflare.com + + - Ionos: + - icon: ionos.png + href: https://mein.ionos.de + + - Namecheap: + - icon: https://cdn.simonis.lol/img/namecheap.png + href: https://ap.www.namecheap.com + + +- Service: + - Immich: + - icon: immich.png + href: https://immich.simonis.lol + - Filebrowser: + - icon: filebrowser.png + href: https://files.simonis.lol + +#- Media: +# - Youtube: +# - icon: youtube.png +# href: https://youtube.com +# +# - Prime Video: +# - icon: prime-video.png +# href: https://www.amazon.de/Amazon-Video/b/?&node=3010075031&ref=dvm_drm_amz_DE_EB_S_ENG_Q419&pf_rd_r=4X37BYA9WCJ0TECXD504&pf_rd_p=d30d74ff-8f0b-4e1a-8ca9-2352de35a393 +# +# - Whatsapp: +# - icon: whatsapp.png +# href: https://web.whatsapp.com + +- Google: + - Gmail: + - icon: gmail.png + href: https://gmail.com + + - Drive: + - icon: google-drive.png + href: https://drive.google.com + + - Notes: + - icon: google-keep.png + href: https://keep.google.com diff --git a/custom.css b/custom.css new file mode 100644 index 0000000..beaf588 --- /dev/null +++ b/custom.css @@ -0,0 +1,11 @@ +#layout-groups { + margin-bottom: 0px; +} + +#footer { + display: none; +} + +.bookmark-description { + display: none; +} \ No newline at end of file diff --git a/custom.js b/custom.js new file mode 100644 index 0000000..b30a51e --- /dev/null +++ b/custom.js @@ -0,0 +1 @@ +const docker = () => {document.querySelectorAll('.service-container-stats').forEach(e => e.click())} \ No newline at end of file diff --git a/docker.yaml b/docker.yaml new file mode 100644 index 0000000..1e13781 --- /dev/null +++ b/docker.yaml @@ -0,0 +1,27 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/latest/configs/docker/ + +default: + host: 192.168.178.104 + port: 2375 + +vps-1: + host: vps-1.simonis.lol + port: 2375 + +vps-2: + host: vps-2.simonis.lol + port: 2375 + +vps-3: + host: vps-3.simonis.lol + port: 2375 + +immich: + host: 192.168.178.106 + port: 2375 + +immich-prv: + host: 192.168.178.107 + port: 2375 \ No newline at end of file diff --git a/kubernetes.yaml b/kubernetes.yaml new file mode 100644 index 0000000..aca6e82 --- /dev/null +++ b/kubernetes.yaml @@ -0,0 +1,2 @@ +--- +# sample kubernetes config diff --git a/services.yaml b/services.yaml new file mode 100644 index 0000000..594b220 --- /dev/null +++ b/services.yaml @@ -0,0 +1,212 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/latest/configs/services + +- Network: + + - Pi-hole: + href: https://pihole.intern.simonis.lol/admin + icon: pi-hole.png + server: default + container: pi-hole + widget: + type: pihole + url: http://192.168.178.104:2080 + key: {{HOMEPAGE_VAR_PIHOLE_KEY}} + fields: ["queries", "blocked", "blocked_percent"] + + - Fritz box: + href: https://router.intern.simonis.lol + icon: avmfritzbox.png + ping: 192.168.178.1 + widget: + type: fritzbox + url: http://192.168.178.1 + fields: ["down", "up", "externalIPAddress"] + + - Reverse Proxy (local): + href: https://proxy.intern.simonis.lol + icon: nginx-proxy-manager.png + server: default + container: proxy +# widget: +# type: npm +# url: http://192.168.178.104:81 +# username: {{HOMEPAGE_VAR_NPM_USER}} +# password: {{HOMEPAGE_VAR_NPM_PASS}} + + - Reverse Proxy (vps-1): + href: https://vps-1.simonis.lol + icon: nginx-proxy-manager.png + server: vps-1 + container: proxy +# widget: +# type: npm +# url: https://vps-1.simonis.lol +# username: {{HOMEPAGE_VAR_NPM_USER}} +# password: {{HOMEPAGE_VAR_NPM_PASS}} + + - Reverse Proxy (vps-2): + href: https://vps-2.simonis.lol + icon: nginx-proxy-manager.png + server: vps-2 + container: proxy +# widget: +# type: npm +# url: https://vps-2.simonis.lol +# username: {{HOMEPAGE_VAR_NPM_USER}} +# password: {{HOMEPAGE_VAR_NPM_PASS}} + + + - Reverse Proxy (mail): + href: https://vps-3.simonis.lol + icon: nginx-proxy-manager.png + server: vps-3 + container: proxy +# widget: +# type: npm +# url: https://vps-3.simonis.lol +# username: {{HOMEPAGE_VAR_NPM_USER}} +# password: {{HOMEPAGE_VAR_NPM_PASS}} + + +- Services: + + - Home Assistant: + href: https://hassio.simonis.lol + icon: home-assistant.png + ping: 192.168.178.100 + widget: + type: homeassistant + url: http://192.168.178.100 + key: {{HOMEPAGE_VAR_HASSIO_TOKEN}} + + - Synology NAS: + href: https://nas.intern.simonis.lol + icon: synology.png + ping: 192.168.178.46 + widget: + type: diskstation + url: https://192.168.178.46:5001 + username: {{HOMEPAGE_VAR_SYN_USER}} + password: {{HOMEPAGE_VAR_SYN_PASS}} + fields: ["uptime", "resources.cpu", "resources.mem"] + + - AMP Game hosting: + href: https://games.intern.simonis.lol/ + icon: amp.png + ping: 192.168.178.103 + widget: + type: minecraft + url: udp://vps-2.simonis.lol:25565 + +# - Analytics: +# href: https://analytics.simonis.lol +# icon: umami.png +# server: default +# container: umami-web + + - Immich: + href: https://immich.intern.simonis.lol + icon: immich.png + server: immich-prv + container: immich-server + widget: + type: immich + url: http://192.168.178.107:2283 + key: {{HOMEPAGE_VAR_IMMICH_PRV_KEY}} + version: 2 + fields: ["users" ,"photos", "videos"] + +- Maintenance: + + - Proxmox: + href: https://proxmox.intern.simonis.lol + icon: proxmox.png + ping: 192.168.178.166 + widget: + type: proxmox + url: https://192.168.178.166:8006 + username: {{HOMEPAGE_VAR_PRX_USER}} + password: {{HOMEPAGE_VAR_PRX_PASS}} + node: pve + fields: ["lxc", "vms", "resources.cpu"] + + - Mailcow: + href: https://mail.simonis.lol + icon: mailcow.png + server: vps-3 + container: mailcowdockerized-nginx-mailcow-1 + + - Sogo: + href: https://mail.simonis.lol + icon: sogo.png + server: vps-3 + container: mailcowdockerized-sogo-mailcow-1 + + - Portainer (local): + href: https://portainer.intern.simonis.lol/#!/2/docker/dashboard + icon: portainer.png + server: default + container: portainer +# widget: +# type: portainer +# url: https://192.168.178.104:9443 +# env: 2 +# key: {{HOMEPAGE_VAR_PORTAINER_KEY}} + + - Portainer (vps-1): + href: https://portainer.intern.simonis.lol/#!/23/docker/dashboard + icon: portainer.png + server: vps-1 + container: portainer-agent +# widget: +# type: portainer +# url: https://192.168.178.104:9443 +# env: 23 +# key: {{HOMEPAGE_VAR_PORTAINER_KEY}} + + - Portainer (vps-2): + href: https://portainer.intern.simonis.lol/#!/17/docker/dashboard + icon: portainer.png + server: vps-2 + container: portainer-agent +# widget: +# type: portainer +# url: https://192.168.178.104:9443 +# env: 17 +# key: {{HOMEPAGE_VAR_PORTAINER_KEY}} + + - Portainer (mail): + href: https://portainer.intern.simonis.lol/#!/21/docker/dashboard + icon: portainer.png + server: vps-3 + container: portainer-agent +# widget: +# type: portainer +# url: https://192.168.178.104:9443 +# env: 21 +# key: {{HOMEPAGE_VAR_PORTAINER_KEY}} + +# - Portainer (immich-prv): +# href: https://portainer.intern.simonis.lol/#!/25/docker/dashboard +# icon: portainer.png +# server: vps-3 +# container: portainer-agent +# widget: +# type: portainer +# url: https://192.168.178.104:9443 +# env: 25 +# key: {{HOMEPAGE_VAR_PORTAINER_KEY}} + +# - Portainer (immich): +# href: https://portainer.intern.simonis.lol/#!/24/docker/dashboard +# icon: portainer.png +# server: vps-3 +# container: portainer-agent +# widget: +# type: portainer +# url: https://192.168.178.104:9443 +# env: 24 +# key: {{HOMEPAGE_VAR_PORTAINER_KEY}} + \ No newline at end of file diff --git a/settings.yaml b/settings.yaml new file mode 100644 index 0000000..9b17841 --- /dev/null +++ b/settings.yaml @@ -0,0 +1,13 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/latest/configs/settings + +statusStyle: "dot" +#headerStyle: boxedWidgets +layout: + Network: + icon: https://cdn-icons-png.flaticon.com/512/148/148800.png + Services: + icon: https://cdn-icons-png.flaticon.com/512/9375/9375708.png + Maintenance: + icon: https://cdn-icons-png.flaticon.com/512/8654/8654341.png \ No newline at end of file diff --git a/widgets.yaml b/widgets.yaml new file mode 100644 index 0000000..d3aea87 --- /dev/null +++ b/widgets.yaml @@ -0,0 +1,43 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/latest/configs/service-widgets + +- resources: + label: CPU + cpu: true + cputemp: true + +- resources: + label: RAM + memory: true + +- resources: + label: Personal + disk: /mnt/personal + diskUnits: bytes + +- resources: + label: Immich + disk: /mnt/immich + diskUnits: bytes + +- resources: + label: Files + disk: /mnt/files + diskUnits: bytes + +- datetime: + text_size: sm + locale: de + format: + timeStyle: short + hourCycle: h23 + dateStyle: short + +- weatherapi: + label: Bremen + latitude: 53.084160 + longitude: 8.830976 + units: metric + apiKey: {{HOMEPAGE_VAR_WEATHERAPI_KEY}} + cache: 5