From efba5474d79402cba12dd46015687abc7e9d4139 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 26 Feb 2024 17:07:28 -0800 Subject: [PATCH] Add tasmota-toes-night --- fighter/config/homepage/config/bookmarks.yaml | 4 ++-- fighter/config/traefik/config/tasmota.yaml | 14 +++++++++++++- wizard/config/service.sh | 2 ++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/fighter/config/homepage/config/bookmarks.yaml b/fighter/config/homepage/config/bookmarks.yaml index e9ff037..93b41bb 100644 --- a/fighter/config/homepage/config/bookmarks.yaml +++ b/fighter/config/homepage/config/bookmarks.yaml @@ -7,12 +7,12 @@ - href: https://day.toes.tasmota.jafner.net - Toes Night: - href: https://night.toes.tasmota.jafner.net + - Sprout Day: + - href: https://day.sprout.tasmota.jafner.net - Figment Day: - href: https://day.figment.tasmota.jafner.net - Figment Night: - href: https://night.figment.tasmota.jafner.net - - Sprout Day: - - href: https://day.sprout.tasmota.jafner.net - Homelab: - Lab Rack: diff --git a/fighter/config/traefik/config/tasmota.yaml b/fighter/config/traefik/config/tasmota.yaml index 5fd524c..2bd3070 100644 --- a/fighter/config/traefik/config/tasmota.yaml +++ b/fighter/config/traefik/config/tasmota.yaml @@ -8,6 +8,14 @@ http: service: "toes-day@file" tls: certResolver: "lets-encrypt" + toes-night: + rule: "Host(`night.toes.tasmota.jafner.net`)" + entryPoints: "websecure" + middlewares: + - "lan-only@file" + service: "toes-night@file" + tls: + certResolver: "lets-encrypt" lab-rack: rule: "Host(`rack.tasmota.jafner.net`)" entryPoints: "websecure" @@ -73,4 +81,8 @@ http: tasmota-55: loadBalancer: servers: - - url: "http://192.168.1.55/" \ No newline at end of file + - url: "http://192.168.1.55/" + toes-night: + loadBalancer: + servers: + - url: "http://192.168.1.56" \ No newline at end of file diff --git a/wizard/config/service.sh b/wizard/config/service.sh index 12f4d24..883d453 100644 --- a/wizard/config/service.sh +++ b/wizard/config/service.sh @@ -27,6 +27,8 @@ set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-map set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-figment-night mac-address '3C:61:05:F7:34:CD' set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-55 ip-address '192.168.1.55' set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-55 mac-address '3C:61:05:F7:1F:C4' +set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-toes-night ip-address '192.168.1.56' +set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-toes-night mac-address '3C:61:05:F7:33:29' set service dns forwarding allow-from '192.168.1.0/24' set service dns forwarding cache-size '1000000' set service dns forwarding listen-address '192.168.1.1'