feat: add home_assistant service configuration in Traefik
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
GNU nano 8.7 /var/data/config/traefik/services.yml
|
||||
tcp:
|
||||
routers:
|
||||
xiaozhi_ws:
|
||||
@@ -99,6 +98,14 @@ http:
|
||||
certResolver: le
|
||||
service: xiaozhi_ota@file
|
||||
|
||||
home_assistant:
|
||||
entryPoints:
|
||||
- https
|
||||
rule: Host(`ha.furyhawk.lol`)
|
||||
tls:
|
||||
certResolver: le
|
||||
service: home_assistant@file
|
||||
|
||||
|
||||
services:
|
||||
|
||||
@@ -147,3 +154,8 @@ http:
|
||||
servers:
|
||||
- url: http://192.168.50.44:8002/xiaozhi/ota/
|
||||
|
||||
home_assistant:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://192.168.50.50:8123
|
||||
|
||||
|
||||
Reference in New Issue
Block a user