Migrate home assistant container to hypervised

This commit is contained in:
root 2023-01-05 22:54:45 +01:00
parent 1a134aa687
commit cf1231e46a
4 changed files with 27 additions and 26 deletions

14
config/dynamic_conf.yaml Normal file
View file

@ -0,0 +1,14 @@
http:
routers:
homeAssistant-secure:
entryPoints:
- https
rule: Host(`domo.mrdev023.fr`)
tls:
certResolver: sslResolver
service: homeAssistant
services:
homeAssistant:
loadBalancer:
servers:
- url: "http://172.17.0.1:8123/"

View file

@ -36,6 +36,8 @@ providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
http:
endpoint: "http://http_provider/dynamic_conf.yaml"
certificatesResolvers:
sslResolver: