From 55eedcea01604d2c6b98ce8ddcae232b4fcf6685 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Mon, 18 Nov 2024 20:43:29 +0100 Subject: [PATCH] Arion: Enable promtail docker discovery --- hosts/franz/arion/default.nix | 2 +- hosts/franz/arion/stats/arion-compose.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/franz/arion/default.nix b/hosts/franz/arion/default.nix index 1d62a11..4b87fb6 100644 --- a/hosts/franz/arion/default.nix +++ b/hosts/franz/arion/default.nix @@ -21,7 +21,7 @@ ./headscale ./auth ./minio - # ./stats + ./stats ./wiki ]; diff --git a/hosts/franz/arion/stats/arion-compose.nix b/hosts/franz/arion/stats/arion-compose.nix index f2acb5e..9788f12 100644 --- a/hosts/franz/arion/stats/arion-compose.nix +++ b/hosts/franz/arion/stats/arion-compose.nix @@ -63,6 +63,7 @@ image = "grafana/promtail:3.0.0"; volumes = [ "/var/log:/var/log" + "/var/run/docker.sock:/var/run/docker.sock:ro" "/home/ghoscht/.docker/stats/promtail_data/promtail-config.yml:/etc/promtail/promtail-config.yml" ]; command = "-config.file=/etc/promtail/promtail-config.yml";