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 = {
|
lab = {
|
||||||
longhorn.persistentVolume = {
|
longhorn.persistentVolume = {
|
||||||
kitchenowl.storage = "100Mi";
|
kitchenowl.storage = "100Mi";
|
||||||
immich.storage = "50Gi";
|
|
||||||
immich-db.storage = "5Gi";
|
|
||||||
attic.storage = "15Gi";
|
attic.storage = "15Gi";
|
||||||
attic-db.storage = "150Mi";
|
attic-db.storage = "150Mi";
|
||||||
minecraft.storage = "1Gi";
|
minecraft.storage = "1Gi";
|
||||||
|
|
|
@ -33,7 +33,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
volumes.data.persistentVolumeClaim.claimName = "data";
|
nodeName = "jefke";
|
||||||
|
|
||||||
|
volumes.data.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/immich";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
|
|
||||||
enableServiceLinks = false;
|
enableServiceLinks = false;
|
||||||
|
|
||||||
|
@ -161,7 +166,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
volumes.data.persistentVolumeClaim.claimName = "database";
|
nodeName = "jefke";
|
||||||
|
|
||||||
|
volumes.data.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/immich-db";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
|
|
||||||
containers.postgres = {
|
containers.postgres = {
|
||||||
image = globals.images.immich-postgres;
|
image = globals.images.immich-postgres;
|
||||||
|
@ -260,18 +270,6 @@
|
||||||
host = "immich";
|
host = "immich";
|
||||||
service.name = "server";
|
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