Rip out seaweedfs and install basic glusterfs instead.

This commit is contained in:
2023-07-14 06:49:55 +01:00
parent 4a6a84190b
commit 92374dff89
4 changed files with 14 additions and 245 deletions

View File

@@ -0,0 +1,13 @@
{ pkgs, config, lib, ... }:
{
services.glusterfs = {
enable = true;
};
environment.persistence."/persist".directories = [
"/var/lib/glusterd"
];
# TODO: each volume needs its own port starting at 49152
networking.firewall.allowedTCPPorts = [ 24007 24008 24009 49152 49153 49154 49155 ];
}