use env vars for config
This commit is contained in:
@@ -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: []
|
||||
|
||||
@@ -5,7 +5,6 @@ background:
|
||||
brightness: 50
|
||||
|
||||
theme: dark
|
||||
|
||||
color: slate
|
||||
|
||||
providers:
|
||||
|
||||
@@ -13,3 +13,8 @@
|
||||
format:
|
||||
timeStyle: short
|
||||
dateStyle: medium
|
||||
|
||||
- openweathermap:
|
||||
apiKey: "{{HOMEPAGE_VAR_OPENWEATHERMAP_API_KEY}}"
|
||||
location: "{{HOMEPAGE_VAR_OPENWEATHERMAP_LOCATION}}"
|
||||
units: metric
|
||||
|
||||
Reference in New Issue
Block a user