From fd4452c668201b6e577c61cdde378ea5de0800c8 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Sun, 9 May 2021 11:35:22 -0400 Subject: [PATCH] nixos/routnerr-2: add hass traefik configuration Signed-off-by: Matt Layher --- nixos/routnerr-2/traefik.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/routnerr-2/traefik.nix b/nixos/routnerr-2/traefik.nix index d0c4eab..f72a8e0 100644 --- a/nixos/routnerr-2/traefik.nix +++ b/nixos/routnerr-2/traefik.nix @@ -44,6 +44,12 @@ in { tls.certResolver = "letsencrypt"; }; + hass = { + rule = "Host(`hass.servnerr.com`)"; + service = "hass"; + tls.certResolver = "letsencrypt"; + }; + plex = { rule = "Host(`plex.servnerr.com`)"; service = "plex"; @@ -69,6 +75,8 @@ in { [{ url = "http://servnerr-3.${vars.domain}:9093"; }]; grafana.loadBalancer.servers = [{ url = "http://servnerr-3.${vars.domain}:3000"; }]; + hass.loadBalancer.servers = + [{ url = "http://servnerr-3.${vars.domain}:8123"; }]; plex.loadBalancer.servers = [{ url = "http://servnerr-3.${vars.domain}:32400"; }]; prometheus.loadBalancer.servers =