Refine Glance network widgets

This commit is contained in:
2026-05-18 08:13:13 +02:00
parent fb681086f3
commit d6170211c4
4 changed files with 57 additions and 25 deletions
+53 -21
View File
@@ -123,7 +123,8 @@ pages:
- type: weather
title: Wetter
location: Berlin, Germany
location: Berlin
hide-location: true
units: metric
hour-format: 24h
@@ -290,7 +291,7 @@ pages:
- title: Mail Archiver
url: https://mail.kaleschke.info
check-url: http://mail-archiver:5000
icon: mdi:email-archive
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailcow.svg
timeout: 5s
alt-status-codes: [200, 302, 401, 403]
- title: BentoPDF
@@ -350,7 +351,7 @@ pages:
- title: code-server
url: https://code.kaleschke.info
check-url: http://code-server:8443
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/code-server.svg
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/vscode.svg
timeout: 5s
alt-status-codes: [200, 302, 401, 403]
- title: Borg UI
@@ -362,20 +363,51 @@ pages:
- size: small
widgets:
- type: custom-api
- type: monitor
title: Internet
cache: 5m
url: https://ipinfo.io/json
template: |
<div style="display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;">
<div class="color-primary size-h2" style="font-weight: 700;">{{ .JSON.String "ip" }}</div>
<div class="size-h5 color-highlight">{{ .JSON.String "city" }}, {{ .JSON.String "country" }}</div>
<div class="size-h6 color-subdue" style="font-style: italic;">{{ .JSON.String "org" }}</div>
</div>
cache: 1m
sites:
- title: Cloudflare
url: https://one.one.one.one
icon: si:cloudflare
timeout: 5s
alt-status-codes: [200, 301, 302, 403]
- title: GitHub
url: https://github.com
icon: si:github
timeout: 5s
alt-status-codes: [200, 301, 302, 403]
- title: Gitea extern
url: https://git.kaleschke.info
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/gitea.svg
timeout: 5s
alt-status-codes: [200, 301, 302, 401, 403]
- type: monitor
title: DNS und VPN
cache: 1m
sites:
- title: AdGuard Home
url: http://192.168.178.58:8082
check-url: http://adguard
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/adguard-home.svg
timeout: 5s
alt-status-codes: [200, 302, 401, 403]
- title: Tailscale
url: https://login.tailscale.com/admin/machines
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/tailscale.svg
timeout: 5s
alt-status-codes: [200, 302, 401, 403]
- title: Traefik
url: https://traefik.kaleschke.info
check-url: http://traefik:8082/metrics
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/traefik.svg
timeout: 5s
alt-status-codes: [200, 302, 401, 403]
- type: docker-containers
title: Core Container
category: core
title: Network Container
category: network
hide-by-default: true
sock-path: tcp://glance-docker-socket-proxy:2375
containers: &containers
@@ -424,25 +456,25 @@ pages:
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/adguard-home.svg
url: http://192.168.178.58:8082
description: DNS Filter
category: core
category: network
hide: false
unbound:
name: Unbound
icon: mdi:dns
description: Upstream Resolver
category: core
category: network
hide: false
Tailscale-Docker:
name: Tailscale
icon: si:tailscale
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/tailscale.svg
description: VPN
category: core
category: network
hide: false
ddns-updater:
name: DDNS Updater
icon: mdi:cloud-sync
description: Cloudflare DNS
category: core
category: network
hide: false
paperless-ngx:
name: Paperless-ngx
@@ -514,7 +546,7 @@ pages:
hide: false
mail-archiver:
name: Mail Archiver
icon: mdi:email-archive
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailcow.svg
url: https://mail.kaleschke.info
description: Mail-Archiv
category: apps
@@ -643,7 +675,7 @@ pages:
hide: false
code-server:
name: code-server
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/code-server.svg
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/vscode.svg
url: https://code.kaleschke.info
description: Web IDE
category: ops