mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 16:04:25 +01:00
Take logs from Docker
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
9a50d57305
commit
eaa22d8e4c
|
@ -287,6 +287,10 @@ in
|
|||
# }
|
||||
# ];
|
||||
|
||||
inputs.docker_log = {
|
||||
tags.bucket = "logs";
|
||||
};
|
||||
|
||||
outputs.influxdb_v2 = [
|
||||
{
|
||||
urls = [ "http://${secret.network.ips.blowhole.ip}:8086" ];
|
||||
|
@ -304,6 +308,10 @@ in
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
systemd = {
|
||||
serviceConfig.SupplementaryGroups = [ "docker" ];
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/grafana" = {
|
||||
|
|
Loading…
Reference in a new issue