Move immich off longhorn
This commit is contained in:
parent
1ac21a813a
commit
6aa41c082f
2 changed files with 12 additions and 16 deletions
|
@ -88,8 +88,6 @@
|
|||
lab = {
|
||||
longhorn.persistentVolume = {
|
||||
kitchenowl.storage = "100Mi";
|
||||
immich.storage = "50Gi";
|
||||
immich-db.storage = "5Gi";
|
||||
attic.storage = "15Gi";
|
||||
attic-db.storage = "150Mi";
|
||||
minecraft.storage = "1Gi";
|
||||
|
|
|
@ -33,7 +33,12 @@
|
|||
};
|
||||
|
||||
spec = {
|
||||
volumes.data.persistentVolumeClaim.claimName = "data";
|
||||
nodeName = "jefke";
|
||||
|
||||
volumes.data.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/volumes/immich";
|
||||
type = "Directory";
|
||||
};
|
||||
|
||||
enableServiceLinks = false;
|
||||
|
||||
|
@ -161,7 +166,12 @@
|
|||
};
|
||||
|
||||
spec = {
|
||||
volumes.data.persistentVolumeClaim.claimName = "database";
|
||||
nodeName = "jefke";
|
||||
|
||||
volumes.data.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/volumes/immich-db";
|
||||
type = "Directory";
|
||||
};
|
||||
|
||||
containers.postgres = {
|
||||
image = globals.images.immich-postgres;
|
||||
|
@ -260,18 +270,6 @@
|
|||
host = "immich";
|
||||
service.name = "server";
|
||||
};
|
||||
|
||||
longhorn.persistentVolumeClaim = {
|
||||
data = {
|
||||
volumeName = "immich";
|
||||
storage = "50Gi";
|
||||
};
|
||||
|
||||
database = {
|
||||
volumeName = "immich-db";
|
||||
storage = "5Gi";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue