add traefik

This commit is contained in:
2025-08-02 23:06:46 -04:00
parent f1272fc80f
commit a8802492f1
28 changed files with 411 additions and 457 deletions

View File

@@ -23,3 +23,9 @@
- "{{ data_dir }}/homeassistant:/config"
- "/etc/localtime:/etc/localtime"
- "/run/dbus:/run/dbus:ro"
labels:
traefik.enable: "true"
traefik.http.routers.ha.rule: Host(`ha.fntz.net`)
traefik.http.routers.ha.entrypoints: webSecure
traefik.http.routers.ha.tls.certresolver: letsencrypt
traefik.http.services.ha.loadbalancer.server.url: "http://{{ TRAEFIK_HOST_IP }}:8123"