configuration.nix/hosts/rico1/services/apps/redis.nix

22 lines
372 B
Nix
Raw Normal View History

2024-10-29 00:41:37 +05:30
_: {
2024-10-29 00:51:16 +05:30
services = {
prometheus.exporters.redis = {
enable = true;
listenAddress = "127.0.0.1";
port = 9121;
2024-10-29 00:41:37 +05:30
};
2024-10-29 00:51:16 +05:30
redis.servers = {
blocky = {
enable = true;
bind = "10.10.10.11";
port = 6379;
};
caddy = {
enable = true;
bind = "10.10.10.11";
port = 6380;
};
2024-10-29 00:41:37 +05:30
};
};
}