feat: setup esphome.

This commit is contained in:
CronyAkatsuki 2026-05-25 11:51:24 +02:00
parent 697cf8a163
commit fa09777dd0
2 changed files with 21 additions and 0 deletions

View file

@ -85,6 +85,7 @@
''"linkwarden.home.cronyakatsuki.xyz IN A 192.168.0.5"''
''"paperless.home.cronyakatsuki.xyz IN A 192.168.0.5"''
''"komga.home.cronyakatsuki.xyz IN A 192.168.0.5"''
''"esphome.home.cronyakatsuki.xyz IN A 192.168.0.5"''
];
};
};

View file

@ -0,0 +1,20 @@
{
services.esphome.enable = true;
services.traefik.dynamicConfigOptions.http = {
services.esphome.loadBalancer.servers = [
{
url = "http://localhost:6052";
}
];
routers.esphome = {
rule = "Host(`esphome.home.cronyakatsuki.xyz`)";
tls = {
certResolver = "porkbun";
};
service = "esphome";
entrypoints = "websecure";
};
};
}