Just use redis password directly

This commit is contained in:
2023-09-27 12:11:07 -07:00
parent 811f1de248
commit 8a8d894f00
2 changed files with 10 additions and 12 deletions
+1 -2
View File
@@ -405,7 +405,6 @@ in {
];
capabilities.SYS_ADMIN = true;
depends_on = [ "antivirus" "redis" ];
volumes = [ "${redisPasswdFile}:/run/redis.passwd" ];
};
nixos = {
useSystemd = true;
@@ -424,7 +423,7 @@ in {
host = "antivirus";
port = antivirusPort;
};
redis.password-file = "/run/redis.passwd";
redis.password = readFile redisPasswdFile;
};
};
};