2024-11-17 14:06:41 +05:30
|
|
|
{ config, ... }: {
|
2024-10-29 00:51:16 +05:30
|
|
|
services = {
|
|
|
|
prometheus.exporters.redis = {
|
|
|
|
enable = true;
|
2024-11-17 14:06:41 +05:30
|
|
|
listenAddress = config.nodeconfig.facts.wireguard-ip;
|
2024-10-29 00:51:16 +05:30
|
|
|
port = 9121;
|
2024-10-29 00:41:37 +05:30
|
|
|
};
|
2024-10-29 00:51:16 +05:30
|
|
|
redis.servers = {
|
2024-11-17 14:06:41 +05:30
|
|
|
default = {
|
2024-10-29 00:51:16 +05:30
|
|
|
enable = true;
|
|
|
|
bind = "10.10.10.11";
|
|
|
|
port = 6379;
|
2024-11-17 14:06:41 +05:30
|
|
|
extraParams = [ "--protected-mode no" ];
|
2024-10-29 00:51:16 +05:30
|
|
|
};
|
2024-10-29 00:41:37 +05:30
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|