diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 7e5a531..bf10e0e 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -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 ];