Move docker-registry storage to fs0-0
This commit is contained in:
@@ -45,6 +45,7 @@ let
|
|||||||
10.253.18.106 fs0-0 fs0-0.local
|
10.253.18.106 fs0-0 fs0-0.local
|
||||||
10.1.2.164 fs0-1 fs0-1.local
|
10.1.2.164 fs0-1 fs0-1.local
|
||||||
10.253.18.100 fs0-2 fs0-2.local
|
10.253.18.100 fs0-2 fs0-2.local
|
||||||
|
10.253.18.109 k1-0
|
||||||
'';
|
'';
|
||||||
inherit certs;
|
inherit certs;
|
||||||
};
|
};
|
||||||
@@ -62,6 +63,10 @@ in
|
|||||||
device = "fs0-0:gv0";
|
device = "fs0-0:gv0";
|
||||||
fsType = "glusterfs";
|
fsType = "glusterfs";
|
||||||
};
|
};
|
||||||
|
fileSystems."/var/lib/docker-registry" = {
|
||||||
|
device = "fs0-0:docker-registry";
|
||||||
|
fsType = "nfs4";
|
||||||
|
};
|
||||||
environment.systemPackages = [ pkgs.lvm2 ];
|
environment.systemPackages = [ pkgs.lvm2 ];
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
10.253.18.100 itp-registry itp-registry.local
|
10.253.18.100 itp-registry itp-registry.local
|
||||||
|
|||||||
Reference in New Issue
Block a user