From 748ba540414beb719de0ecff919c559bb89bef6e Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Tue, 29 Oct 2024 00:41:37 +0530 Subject: [PATCH] rico1: enable redis --- hosts/rico1/services/apps/default.nix | 1 + hosts/rico1/services/apps/redis.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 hosts/rico1/services/apps/redis.nix diff --git a/hosts/rico1/services/apps/default.nix b/hosts/rico1/services/apps/default.nix index f6d1994..9cf4721 100644 --- a/hosts/rico1/services/apps/default.nix +++ b/hosts/rico1/services/apps/default.nix @@ -6,6 +6,7 @@ in imports = [ ./blocky.nix ./prometheus.nix + ./redis.nix ./loki ../../../shared/prometheus-exporters.nix ../../../shared/promtail.nix diff --git a/hosts/rico1/services/apps/redis.nix b/hosts/rico1/services/apps/redis.nix new file mode 100644 index 0000000..d33e268 --- /dev/null +++ b/hosts/rico1/services/apps/redis.nix @@ -0,0 +1,12 @@ +_: { + services.redis.servers = { + blocky = { + bind = "10.10.10.11"; + port = 6379; + }; + caddy = { + bind = "10.10.10.11"; + port = 6380; + }; + }; +}