MongoDB: Difference between revisions

Notarin (talk | contribs)
m initialRootPassword -> initialRootPasswordFile
SAKURA (talk | contribs)
m `services.mongodb.package` does not accept strings.
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
services.mongodb = {
services.mongodb = {
   enable = true;
   enable = true;
   package = "mongodb-5_0";
   package = pkgs.mongodb-7_0;
   enableAuth = true;
   enableAuth = true;
   initialRootPasswordFile = "YourSecurePasswordFilePath";
   initialRootPasswordFile = /path/to/secure/passwordFile;
   bind_ip = "10.5.0.2";
   bind_ip = "10.5.0.2";
};
};