From 461b1be2be2f0a72533044d1f1a77b052db1f153 Mon Sep 17 00:00:00 2001 From: Maksym Buz Date: Mon, 25 Aug 2025 20:34:03 +0200 Subject: [PATCH] Initial commit: Add homepage configuration --- .gitignore | 3 + bookmarks.yaml | 78 +++++++++++++++++++ custom.css | 0 custom.js | 0 docker.yaml | 13 ++++ kubernetes.yaml | 2 + services.yaml | 202 ++++++++++++++++++++++++++++++++++++++++++++++++ settings.yaml | 25 ++++++ widgets.yaml | 34 ++++++++ 9 files changed, 357 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..c4c2774 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/logs +.env +*.bak \ No newline at end of file diff --git a/bookmarks.yaml b/bookmarks.yaml new file mode 100644 index 0000000..fbd079b --- /dev/null +++ b/bookmarks.yaml @@ -0,0 +1,78 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/bookmarks + +- Info: + - Github Homelab: + - icon: github + href: https://github.com/xopek-by/homelab + description: Personal Homelab repo + + - Homelab Wiki: + - abbr: WK + href: https://docs.xopek.co.uk/ + description: Homelab documentation + + - Homepage Docs: + - icon: homepage + href: https://gethomepage.dev/ + description: Homepage documentation + + - Simple icons: + - icon: si-simpleicons-#111111 + href: https://simpleicons.org/ + + - Disk Prices: + - abbr: DP + href: https://diskprices.com/?locale=us&condition=new,used&disk_types=internal_hdd,internal_hdd25,internal_ssd,m2_ssd,m2_nvme + description: HDDs + SSDs per TB + +- Management: + - Oracle Cloud: + - icon: oracle + href: https://cloud.oracle.com/ + + - Cloudflare: + - icon: cloudflare + href: https://dash.cloudflare.com/ + + - Router: + - icon: router + href: http://10.0.0.10/ + + - TailScale: + - icon: tailscale + href: https://login.tailscale.com/admin/machines + +- Chat bots: + - ChatGPT: + - icon: chatgpt + href: https://chatgpt.com/ + description: ChatGPT + + - DeepSeek: + - abbr: DS + href: https://chat.deepseek.com/ + description: DeepSeek Chat + + - Gemini: + - icon: si-googlegemini + href: https://gemini.google.com/app?hl=en + description: Gemini chat + +# - Zabbix: +# - Prod: +# - icon: zabbix +# href: https://zabbix.xopek.co.uk/ + +# - Test 7.0: +# - icon: zabbix +# href: http://10.0.0.107/zabbix/ + +# - Test 6.0: +# - icon: zabbix +# href: http://10.0.0.106/zabbix/ + +# - Test 5.0: +# - icon: zabbix +# href: http://10.0.0.105/zabbix/ diff --git a/custom.css b/custom.css new file mode 100644 index 0000000..e69de29 diff --git a/custom.js b/custom.js new file mode 100644 index 0000000..e69de29 diff --git a/docker.yaml b/docker.yaml new file mode 100644 index 0000000..27fe496 --- /dev/null +++ b/docker.yaml @@ -0,0 +1,13 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/docker/ + +apps: + socket: /var/run/docker.sock + +cloud: + host: 10.0.0.102 + port: 2375 + +# my-docker: +# socket: /var/run/docker.sock 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..e08267c --- /dev/null +++ b/services.yaml @@ -0,0 +1,202 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/services/ + +- Virtualization: + - Proxmox: + href: "{{HOMEPAGE_VAR_PROXMOX_URL}}" + description: Lenovo P520 + icon: proxmox + widget: + type: proxmox + url: "{{HOMEPAGE_VAR_PROXMOX_URL}}" + username: "{{HOMEPAGE_VAR_PROXMOX_PAM}}" + password: "{{HOMEPAGE_VAR_PROXMOX_SECRET}}" + - Docker: + - Apps: + href: "{{HOMEPAGE_VAR_PORTAINER_URL}}" + description: Portainer + icon: portainer + widget: + type: portainer + url: "{{HOMEPAGE_VAR_PORTAINER_URL}}" + env: 18 + key: "{{HOMEPAGE_VAR_PORTAINER_KEY}}" + + - Cloud: + href: "{{HOMEPAGE_VAR_PORTAINER_URL}}" + description: Portainer + icon: portainer + widget: + type: portainer + url: "{{HOMEPAGE_VAR_PORTAINER_URL}}" + env: 16 + key: "{{HOMEPAGE_VAR_PORTAINER_KEY}}" + +- Files: + - TrueNAS: + href: "{{HOMEPAGE_VAR_TRUENAS_URL}}" + #description: Storage + icon: truenas + widget: + type: truenas + url: "{{HOMEPAGE_VAR_TRUENAS_URL}}" + key: "{{HOMEPAGE_VAR_TRUENAS_KEY}}" + enablePools: true + + - Transmission: + href: "{{HOMEPAGE_VAR_TRANSMISSION_URL}}/" + #description: Transmission + icon: transmission + server: apps + container: transmission-openvpn + widget: + type: transmission + url: "{{HOMEPAGE_VAR_TRANSMISSION_URL}}" + + - Immich: + href: "{{HOMEPAGE_VAR_IMMICH_URL}}/photos" + #description: Photos + icon: immich + widget: + type: immich + url: "{{HOMEPAGE_VAR_IMMICH_URL}}" + key: "{{HOMEPAGE_VAR_IMMICH_KEY}}" + version: 2 + + - Seafile: + href: "{{HOMEPAGE_VAR_SEAFILE_URL}}" + description: Documents + icon: seafile + server: cloud + container: seafile_server + +- Networking: + - Nginx Proxy Manager: + href: "{{HOMEPAGE_VAR_NPM_URL}}/nginx/proxy" + description: Services proxying + icon: nginx-proxy-manager + widget: + type: npm + url: "{{HOMEPAGE_VAR_NPM_URL}}" + username: "{{HOMEPAGE_VAR_NPM_USER}}" + password: "{{HOMEPAGE_VAR_NPM_PASS}}" + server: apps + container: nginx-proxy-manager + + - AdGuard: + href: "{{HOMEPAGE_VAR_ADGUARD_URL}}" + icon: adguard-home + widget: + type: adguard + url: "{{HOMEPAGE_VAR_ADGUARD_URL}}" + username: "{{HOMEPAGE_VAR_ADGUARD_USER}}" + password: "{{HOMEPAGE_VAR_ADGUARD_PASS}}" + + - Remote: + - Guacamole: + href: "{{HOMEPAGE_VAR_GUACAMOLE_URL}}" + icon: guacamole + server: apps + container: guacamole + + - Webtop: + href: "{{HOMEPAGE_VAR_WEBTOP_URL}}" + icon: webtop + server: apps + container: webtop + + - Lenovo AMT: + description: Intel AMT remote management for Lenovo + href: "{{HOMEPAGE_VAR_LENOVO_AMT_URL}}" + icon: si-intel-#0071C5 + # siteMonitor: "{{HOMEPAGE_VAR_LENOVO_AMT_URL}}" + + + # - PgAdmin Oracle: + # href: https://pgadmin.xopek.co.uk/browser/ + # icon: pgadmin + # siteMonitor: https://pgadmin.xopek.co.uk/browser/ + +- Tools & Utilities: + # - LXC exit node: + # href: https://login.tailscale.com + # description: Tailscale + # icon: tailscale + # widget: + # type: tailscale + # deviceid: nACs2ShCZP11CNTRL + # key: tskey-api-kV3NU1LSkh11CNTRL-1n4NHxXvsFSAgWHkzd6iFSKnbcn2S76W2 + + # - Docker Apps: + # href: https://login.tailscale.com + # description: Tailscale + # icon: tailscale + # widget: + # type: tailscale + # deviceid: ner9S4TCW211CNTRL + # key: tskey-api-kV3NU1LSkh11CNTRL-1n4NHxXvsFSAgWHkzd6iFSKnbcn2S76W2 + + # - Oracle Ampere: + # href: https://login.tailscale.com + # description: Tailscale + # icon: tailscale + # widget: + # type: tailscale + # deviceid: n6h62FUCS321CNTRL + # key: tskey-api-kV3NU1LSkh11CNTRL-1n4NHxXvsFSAgWHkzd6iFSKnbcn2S76W2 + + - Zabbix Oracle: + href: "{{HOMEPAGE_VAR_ZABBIX_URL}}/" + icon: zabbix + siteMonitor: "{{HOMEPAGE_VAR_ZABBIX_URL}}" + widget: + type: zabbix + url: "{{HOMEPAGE_VAR_ZABBIX_URL}}" + key: "{{HOMEPAGE_VAR_ZABBIX_KEY}}" + + # - '7.0': + # href: http://10.0.0.107/zabbix/ + # icon: zabbix + # siteMonitor: http://10.0.0.107/zabbix/ + + # - '6.0': + # href: http://10.0.0.106/zabbix/ + # icon: zabbix + # siteMonitor: http://10.0.0.106/zabbix/ + + # - '5.0': + # href: http://10.0.0.105/zabbix/ + # icon: zabbix + # siteMonitor: http://10.0.0.105/zabbix/ + + - Grafana: + href: "{{HOMEPAGE_VAR_GRAFANA_URL}}/login" + description: Grafana + icon: grafana + siteMonitor: "{{HOMEPAGE_VAR_GRAFANA_URL}}" + + - IT Tools: + href: "{{HOMEPAGE_VAR_IT_TOOLS_URL}}" + description: Handy things for work + icon: it-tools + server: apps + container: it-tools + + - Vaultwarden: + href: "{{HOMEPAGE_VAR_VAULTWARDEN_URL}}" + description: Password manager + icon: vaultwarden + server: apps + container: vaultwarden + + - Gitea: + href: "{{HOMEPAGE_VAR_GITEA_URL}}/" + description: Local Git server + icon: gitea + siteMonitor: "{{HOMEPAGE_VAR_GITEA_URL}}/" + widget: + type: gitea + url: "{{HOMEPAGE_VAR_GITEA_URL}}" + key: "{{HOMEPAGE_VAR_GITEA_KEY}}" + diff --git a/settings.yaml b/settings.yaml new file mode 100644 index 0000000..9e024ad --- /dev/null +++ b/settings.yaml @@ -0,0 +1,25 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/settings/ + +# layout: +# Virtualization: +# style: column +# columns: 3 + +# Files: +# style: column +# columns: 3 + +# Networking: +# style: column +# columns: 3 + +# Monitoring: +# style: column +# columns: 3 + + + + +theme: dark \ No newline at end of file diff --git a/widgets.yaml b/widgets.yaml new file mode 100644 index 0000000..4eedf98 --- /dev/null +++ b/widgets.yaml @@ -0,0 +1,34 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/info-widgets/ + +- openmeteo: + label: Gdansk # optional + latitude: 54.372158 + longitude: 18.638306 + timezone: Europe/Warsaw # optional + units: metric # or imperial + cache: 5 # Time in minutes to cache API responses, to stay within limits + format: # optional, Intl.NumberFormat options + maximumFractionDigits: 1 + +- datetime: + locale: pl + text_size: 2xl + format: + timeStyle: short + +- glances: + url: http://10.0.0.1:61208/ + # username: user # optional if auth enabled in Glances + # password: pass # optional if auth enabled in Glances + # version: 4 # required only if running glances v4 or higher, defaults to 3 + cpu: false + mem: false + cputemp: true + uptime: true + expanded: false + # label: Proxmox + # diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk + refreshInterval: 5000 # optional - in milliseconds, defaults to 1000 or more, depending on the metric + pointsLimit: 15 # optional, defaults to 15 \ No newline at end of file