diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-12 14:53:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-12 14:55:31 -0700 |
commit | 03707f1c0d9615d3c6385132af52de60c2fedfc0 (patch) | |
tree | b3e1a344693cb4c151e014812d42bac63d616567 /hosts | |
parent | profiles/monitoring: move promtail to a profile (diff) | |
download | world-03707f1c0d9615d3c6385132af52de60c2fedfc0.tar.gz |
profiles/monitoring: move loki to a profile
Add a nginx virtualhost for loki too, so that we can use a valid SSL certificate.
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/tahoe/default.nix | 1 | ||||
-rw-r--r-- | hosts/tahoe/services.nix | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix index a23c7c8..2cefdb7 100644 --- a/hosts/tahoe/default.nix +++ b/hosts/tahoe/default.nix @@ -19,6 +19,7 @@ in "${self}/profiles/hardware/amd.nix" "${self}/profiles/monitoring/exporter.nix" "${self}/profiles/monitoring/promtail.nix" + "${self}/profiles/monitoring/loki.nix" ]; # Use systemd-networkd for networking diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix index a8b80b8..7e42a1f 100644 --- a/hosts/tahoe/services.nix +++ b/hosts/tahoe/services.nix @@ -12,10 +12,6 @@ in enable = true; listenAddress = "192.168.6.40"; }; - loki = { - enable = true; - listenAddress = "192.168.6.40"; - }; grafana = { enable = true; vhostName = "dash.${config.homelab.domain}"; |