From ee7648653e5ff2010fcd92fb5db68b2d2f5beedc Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 12 Apr 2023 11:52:58 +0200 Subject: [PATCH] Set up mqtt2prometheus --- modules/containers.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/containers.nix b/modules/containers.nix index 52d222f..431cc70 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -20,6 +20,13 @@ ports = [ "127.0.0.1:9000:80" ]; cmd = [ "--name" "bookworm" "--searchbot" "searchook" "--persist" ]; }; + # Prometheus MQTT integration + mqtt2prometheus = { + image = + "hikhvar/mqtt2prometheus@sha256:ad133b8cef2d82c5573864598b1c8361753adc7e4ac53da28bc9b6afdf05aeaf"; + ports = [ "127.0.0.1:9641:9641" ]; + volumes = [ "/vault/mqtt2prometheus/config.yaml:/config.yaml" ]; + }; }; }; };