about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-04-23 11:40:28 -0700
committerFranck Cuny <franck@fcuny.net>2023-04-23 14:24:58 -0700
commitd0db12cfc8567818f0a52ef2a7524003d01b051d (patch)
tree4173a48463f5cfd0330872c88b75ffad71b3c322 /hosts
parentnginx: remove the grafana dashboard provider (diff)
downloadworld-d0db12cfc8567818f0a52ef2a7524003d01b051d.tar.gz
modules/services: add loki and promtail
Diffstat (limited to '')
-rw-r--r--hosts/tahoe/services.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix
index 87a71cf..8783e8c 100644
--- a/hosts/tahoe/services.nix
+++ b/hosts/tahoe/services.nix
@@ -26,6 +26,13 @@ in
       enable = true;
       vhostName = "dash.fcuny.xyz";
     };
+
+    loki = {
+      enable = true;
+      address = "192.168.6.40";
+    };
+
+    metrics-exporter.promtail.enable = true;
     cgit = {
       enable = true;
     };