Add infrastructure for tasmota homepage
This commit is contained in:
parent
19bec58348
commit
ab0844cd65
1
fighter/config/homepage/.env
Normal file
1
fighter/config/homepage/.env
Normal file
@ -0,0 +1 @@
|
||||
DOCKER_DATA=/home/admin/data/homepage/tasmota
|
20
fighter/config/homepage/bookmarks.yaml
Normal file
20
fighter/config/homepage/bookmarks.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://gethomepage.dev/en/configs/bookmarks
|
||||
|
||||
- Animals:
|
||||
- Toes Day:
|
||||
href: https://day.toes.tasmota.jafner.net
|
||||
- Toes Night:
|
||||
href: https://night.toes.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:
|
||||
href: https://rack.tasmota.jafner.net
|
20
fighter/config/homepage/docker-compose.yml
Normal file
20
fighter/config/homepage/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
homepage:
|
||||
image: ghcr.io/benphelps/homepage
|
||||
container_name: homepage_tasmota
|
||||
env_file:
|
||||
- homepage.env
|
||||
networks:
|
||||
- web
|
||||
volumes:
|
||||
- $DOCKER_DATA/logs:/app/config/logs
|
||||
- ./bookmarks.yaml:/app/config/bookmarks.yaml
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
labels:
|
||||
- traefik.http.routers.homepage-tasmota.rule=Host(`home.tasmota.jafner.net`)
|
||||
- traefik.http.routers.homepage-tasmota.tls.certresolver=lets-encrypt
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
2
fighter/config/homepage/homepage.env
Normal file
2
fighter/config/homepage/homepage.env
Normal file
@ -0,0 +1,2 @@
|
||||
PUID=1001
|
||||
PGID=1001
|
76
fighter/config/traefik/config/tasmota.yaml
Normal file
76
fighter/config/traefik/config/tasmota.yaml
Normal file
@ -0,0 +1,76 @@
|
||||
http:
|
||||
routers:
|
||||
toes-day:
|
||||
rule: "Host(`day.toes.tasmota.jafner.net`)"
|
||||
entryPoints: "websecure"
|
||||
middlewares:
|
||||
- "lan-only@file"
|
||||
service: "toes-day@file"
|
||||
tls:
|
||||
certResolver: "lets-encrypt"
|
||||
lab-rack:
|
||||
rule: "Host(`rack.tasmota.jafner.net`)"
|
||||
entryPoints: "websecure"
|
||||
middlewares:
|
||||
- "lan-only@file"
|
||||
service: "lab-rack@file"
|
||||
tls:
|
||||
certResolver: "lets-encrypt"
|
||||
sprout-day:
|
||||
rule: "Host(`day.sprout.tasmota.jafner.net`)"
|
||||
entryPoints: "websecure"
|
||||
middlewares:
|
||||
- "lan-only@file"
|
||||
service: "sprout-day@file"
|
||||
tls:
|
||||
certResolver: "lets-encrypt"
|
||||
figment-day:
|
||||
rule: "Host(`day.figment.tasmota.jafner.net`)"
|
||||
entryPoints: "websecure"
|
||||
middlewares:
|
||||
- "lan-only@file"
|
||||
service: "figment-day@file"
|
||||
tls:
|
||||
certResolver: "lets-encrypt"
|
||||
figment-night:
|
||||
rule: "Host(`night.figment.tasmota.jafner.net`)"
|
||||
entryPoints: "websecure"
|
||||
middlewares:
|
||||
- "lan-only@file"
|
||||
service: "figment-night@file"
|
||||
tls:
|
||||
certResolver: "lets-encrypt"
|
||||
tasmota-55:
|
||||
rule: "Host(`55.tasmota.jafner.net`)"
|
||||
entryPoints: "websecure"
|
||||
middlewares:
|
||||
- "lan-only@file"
|
||||
service: "tasmota-55@file"
|
||||
tls:
|
||||
certResolver: "lets-encrypt"
|
||||
|
||||
services:
|
||||
toes-day:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.1.50/"
|
||||
lab-rack:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.1.51/"
|
||||
sprout-day:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.1.52/"
|
||||
figment-day:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.1.53/"
|
||||
figment-night:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.1.54/"
|
||||
tasmota-55:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.1.55/"
|
@ -15,28 +15,18 @@ 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 joey-nas mac-address '40:8d:5c:52:41:89'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping joey-nas2 ip-address '192.168.1.11'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping joey-nas2 mac-address '90:2b:34:37:ce:ea'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping joey-server2 ip-address '192.168.1.24'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping joey-server2 mac-address '24:4b:fe:57:bc:85'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping joey-server3 ip-address '192.168.1.25'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping joey-server3 mac-address '78:45:c4:05:4f:21'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping joey-server4 ip-address '192.168.1.26'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping joey-server4 mac-address '90:2b:34:37:ce:e8'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping pihole1 ip-address '192.168.1.21'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping pihole1 mac-address 'b8:27:eb:3c:8e:bb'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping pihole2 ip-address '192.168.1.22'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping pihole2 mac-address 'b8:27:eb:ff:76:6e'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-1 ip-address '192.168.1.50'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-1 mac-address '3C:61:05:F6:44:1E'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-2 ip-address '192.168.1.51'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-2 mac-address '3c:61:05:f6:d7:d3'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-3 ip-address '192.168.1.52'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-3 mac-address '3c:61:05:f6:f0:62'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping wyse1 ip-address '192.168.1.31'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping wyse1 mac-address '6c:2b:59:37:89:40'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping wyse2 ip-address '192.168.1.32'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping wyse2 mac-address '6c:2b:59:37:9e:91'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping wyse3 ip-address '192.168.1.33'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping wyse3 mac-address '6c:2b:59:37:9e:00'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-toes-day ip-address '192.168.1.50'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-toes-day mac-address '3C:61:05:F6:44:1E'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-lab-rack ip-address '192.168.1.51'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-lab-rack mac-address '3C:61:05:F6:D7:D3'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-sprout-day ip-address '192.168.1.52'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-sprout-day mac-address '3C:61:05:F7:52:DB'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-figment-day ip-address '192.168.1.53'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-figment-day mac-address '3C:61:05:F6:60:A1'
|
||||
set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping tasmota-figment-night ip-address '192.168.1.54'
|
||||
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 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'
|
||||
|
Loading…
Reference in New Issue
Block a user