From 0e6ac3d01346d7565c092f1cb4e98e75adbfb096 Mon Sep 17 00:00:00 2001 From: shivaraj-bh Date: Fri, 12 Jan 2024 15:58:38 +0530 Subject: [PATCH] remove location-db service; fix statix pre-commit errors --- Backend/nix/services.nix | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/Backend/nix/services.nix b/Backend/nix/services.nix index a2e5044a8fb..12fe9cf9145 100644 --- a/Backend/nix/services.nix +++ b/Backend/nix/services.nix @@ -38,30 +38,20 @@ replica.port = 5435; }; - postgres-with-replica.location-db = { - enable = true; - master.extraInitialDumps = [ - ../dev/sql-seed/driver-location-seed.sql - ../dev/local-testing-data/person-location.sql - ]; - master.port = 5454; - replica.port = 5456; - }; - }; + redis."redis".enable = true; - services.redis."redis".enable = true; + redis-cluster."cluster1".enable = true; - services.redis-cluster."cluster1".enable = true; + zookeeper."zookeeper".enable = true; - services.zookeeper."zookeeper".enable = true; + apache-kafka."kafka" = { + port = 29092; + enable = true; + }; - services.apache-kafka."kafka" = { - port = 29092; - enable = true; + nginx."nginx".enable = true; }; - services.nginx."nginx".enable = true; - services.passetto = { enable = true; initialDumps = [ ../dev/sql-seed/passetto-seed.sql ];