Move nextcloud off longhorn
This commit is contained in:
parent
0a074b1100
commit
c8fe2202a8
2 changed files with 12 additions and 16 deletions
|
@ -88,8 +88,6 @@
|
||||||
lab = {
|
lab = {
|
||||||
longhorn.persistentVolume = {
|
longhorn.persistentVolume = {
|
||||||
atuin-db.storage = "300Mi";
|
atuin-db.storage = "300Mi";
|
||||||
nextcloud.storage = "50Gi";
|
|
||||||
nextcloud-db.storage = "400Mi";
|
|
||||||
kitchenowl.storage = "100Mi";
|
kitchenowl.storage = "100Mi";
|
||||||
paperless-data.storage = "10Gi";
|
paperless-data.storage = "10Gi";
|
||||||
paperless-redisdata.storage = "20Mi";
|
paperless-redisdata.storage = "20Mi";
|
||||||
|
|
|
@ -33,7 +33,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
volumes.data.persistentVolumeClaim.claimName = "data";
|
nodeName = "atlas";
|
||||||
|
|
||||||
|
volumes.data.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/nextcloud";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
|
|
||||||
containers.nextcloud = {
|
containers.nextcloud = {
|
||||||
image = globals.images.nextcloud;
|
image = globals.images.nextcloud;
|
||||||
|
@ -101,6 +106,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
|
nodeName = "atlas";
|
||||||
|
|
||||||
containers.postgres = {
|
containers.postgres = {
|
||||||
image = globals.images.postgres15;
|
image = globals.images.postgres15;
|
||||||
imagePullPolicy = "IfNotPresent";
|
imagePullPolicy = "IfNotPresent";
|
||||||
|
@ -125,7 +132,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
volumes.database.persistentVolumeClaim.claimName = "database";
|
volumes.database.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/nextcloud-db";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -166,18 +176,6 @@
|
||||||
host = "nextcloud";
|
host = "nextcloud";
|
||||||
service.name = "server";
|
service.name = "server";
|
||||||
};
|
};
|
||||||
|
|
||||||
longhorn.persistentVolumeClaim = {
|
|
||||||
data = {
|
|
||||||
volumeName = "nextcloud";
|
|
||||||
storage = "50Gi";
|
|
||||||
};
|
|
||||||
|
|
||||||
database = {
|
|
||||||
volumeName = "nextcloud-db";
|
|
||||||
storage = "400Mi";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue