diff --git a/machines/overwatch/configuration.nix b/machines/overwatch/configuration.nix index 72fbbf3..06cac14 100644 --- a/machines/overwatch/configuration.nix +++ b/machines/overwatch/configuration.nix @@ -144,6 +144,12 @@ in targets = [ "${hosts.malobeo.hosts.zineshop.network.address}:9002" ]; }]; } + { + job_name = "vaultwarden"; + static_configs = [{ + targets = [ "${hosts.malobeo.hosts.vaultwarden.network.address}:9002" ]; + }]; + } { job_name = "pretalx"; static_configs = [{ diff --git a/machines/vaultwarden/configuration.nix b/machines/vaultwarden/configuration.nix index 8a43711..5e6461a 100644 --- a/machines/vaultwarden/configuration.nix +++ b/machines/vaultwarden/configuration.nix @@ -22,6 +22,12 @@ with lib; networking.firewall.allowedTCPPorts = [ 80 ]; + malobeo.metrics = { + enable = true; + enablePromtail = true; + logNginx = true; + }; + services.nginx = { enable = true; virtualHosts."keys.malobeo.org" = {