use env vars for config

This commit is contained in:
2026-02-14 09:48:27 -03:00
parent 90058108a4
commit 8caa0ff46a
4 changed files with 14 additions and 12 deletions

View File

@@ -3,22 +3,20 @@
- Network:
- Pi-hole Primary:
icon: pi-hole.png
href: http://192.168.1.X/admin/
href: http://{{HOMEPAGE_VAR_PIHOLE_1_IP}}/admin/
widget:
type: pihole
url: http://192.168.1.X
key: ""
url: http://{{HOMEPAGE_VAR_PIHOLE_1_IP}}
key: "{{HOMEPAGE_VAR_PIHOLE_1_KEY}}"
- Pi-hole Secondary:
icon: pi-hole.png
href: http://192.168.1.Y/admin/
href: http://{{HOMEPAGE_VAR_PIHOLE_2_IP}}/admin/
widget:
type: pihole
url: http://192.168.1.Y
key: ""
url: http://{{HOMEPAGE_VAR_PIHOLE_2_IP}}
key: "{{HOMEPAGE_VAR_PIHOLE_2_KEY}}"
# Groups for auto-discovery
# Even though Homepage creates groups automatically, defining them here controls the order.
- Portfolio: []
- Web: []
- Monitoring: []