server: add mongodb
This commit is contained in:
@@ -59,6 +59,13 @@
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
services.mongodb = {
|
||||
enable = true;
|
||||
enableAuth = false;
|
||||
package = pkgs.mongodb-ce;
|
||||
replSetName = "rs0"; # dangerous
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 443 3000 3001 8080 25565 ];
|
||||
|
||||
Reference in New Issue
Block a user