diff --git a/modules/server/containers/apps/influx.nix b/modules/server/containers/apps/influx.nix index 8ecb0b1..df22dcc 100644 --- a/modules/server/containers/apps/influx.nix +++ b/modules/server/containers/apps/influx.nix @@ -111,6 +111,11 @@ in { GF_LIVE_HA_ENGINE_ADRESS = "${builder.host}:6379"; DEFAULT_INFLUX_SERVER = "http://${builder.host}:8181"; }; + extraLabels = { + "traefik.http.routers.grafana-pub.rule" = "Host(`${containerCfg.subdomain}.${serverCfg.domain}`) && PathPrefix(`/public-dashboards`)"; + "traefik.http.routers.grafana-pub.entrypoints" = "web-secure"; + "traefik.http.routers.grafana-pub.tls" = "true"; + }; overrides = { user = "1500:1500"; environmentFiles = [ config.sops.secrets."INFLUX".path config.sops.secrets."CUSTOM".path ] ;