migrating immich
This commit is contained in:
1 parent
41968e63d2
commit
cd48b65656
16 files changed
+147
-31
No files matched your search
@@ -109,6 +109,7 @@ in
|
||||
audiobooks = { ip = "10.0.101.4"; };
|
||||
gitea = { ip = "10.0.101.8"; };
|
||||
public-gitea = { ip = "10.0.101.9"; };
|
||||
immich = { ip = "10.0.101.10"; };
|
||||
jellyfin = { ip = "10.0.101.5"; };
|
||||
nvr = { ip = "10.0.101.6"; };
|
||||
portainer = { ip = "10.0.101.241"; };
|
||||
@@ -118,6 +119,7 @@ in
|
||||
"nvr.home.sosnovsky.ca"
|
||||
"jellyfin.home.sosnovsky.ca"
|
||||
"portainer.home.sosnovsky.ca"
|
||||
"immich.home.sosnovsky.ca"
|
||||
"gitea.skyg.ca"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
, lib
|
||||
, pkgs
|
||||
, skygUtils
|
||||
, unstablePkgs
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
|
||||
@@ -67,4 +67,18 @@
|
||||
'';
|
||||
};
|
||||
};
|
||||
container-services = rec {
|
||||
makeNfsVolumeFactory = host: exportPath: {
|
||||
driver_opts = {
|
||||
type = "nfs";
|
||||
o = "addr=${host},rw,nfsvers=4.0,nolock,hard,noatime";
|
||||
device = ":${exportPath}";
|
||||
};
|
||||
};
|
||||
nfsVols = {
|
||||
terra1 = makeNfsVolumeFactory "terra1.lab.internal";
|
||||
tnas1 = makeNfsVolumeFactory "tnas1.lab.internal";
|
||||
bigbox2 = makeNfsVolumeFactory "bigbox2.lab.internal";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user