fix: Add Home Assistant config

This commit is contained in:
William 2023-08-17 17:24:14 +02:00
parent 2c300bbe15
commit aaa6739419

18
traefik/conf.d/ha.yml Normal file
View File

@ -0,0 +1,18 @@
http:
routers:
ha:
entryPoints:
- web
service: service-ha
rule: Host(`{{ env "HA_DOMAIN" }}`)
ha-https:
entryPoints:
- websecure
service: service-ha
rule: Host(`{{ env "HA_DOMAIN" }}`)
services:
service-ha:
loadBalancer:
servers:
- url: {{ env "HA_URL" }}