Move hedgedoc off Longhorn
This commit is contained in:
parent
360cb2917f
commit
0a074b1100
2 changed files with 13 additions and 16 deletions
|
@ -90,8 +90,6 @@
|
|||
atuin-db.storage = "300Mi";
|
||||
nextcloud.storage = "50Gi";
|
||||
nextcloud-db.storage = "400Mi";
|
||||
hedgedoc-uploads.storage = "50Mi";
|
||||
hedgedoc-db.storage = "100Mi";
|
||||
kitchenowl.storage = "100Mi";
|
||||
paperless-data.storage = "10Gi";
|
||||
paperless-redisdata.storage = "20Mi";
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
};
|
||||
|
||||
spec = {
|
||||
nodeName = "jefke";
|
||||
|
||||
containers.hedgedoc = {
|
||||
image = globals.images.hedgedoc;
|
||||
ports.web.containerPort = 3000;
|
||||
|
@ -90,8 +92,12 @@
|
|||
};
|
||||
|
||||
volumes = {
|
||||
uploads.persistentVolumeClaim.claimName = "uploads";
|
||||
config.configMap.name = "hedgedoc-config";
|
||||
|
||||
uploads.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/volumes/hedgedoc-uploads";
|
||||
type = "Directory";
|
||||
};
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
|
@ -124,6 +130,8 @@
|
|||
};
|
||||
|
||||
spec = {
|
||||
nodeName = "jefke";
|
||||
|
||||
containers.postgres = {
|
||||
image = globals.images.postgres15;
|
||||
imagePullPolicy = "IfNotPresent";
|
||||
|
@ -148,7 +156,10 @@
|
|||
];
|
||||
};
|
||||
|
||||
volumes.database.persistentVolumeClaim.claimName = "database";
|
||||
volumes.database.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/volumes/hedgedoc-db";
|
||||
type = "Directory";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -190,18 +201,6 @@
|
|||
portName = "web";
|
||||
};
|
||||
};
|
||||
|
||||
longhorn.persistentVolumeClaim = {
|
||||
uploads = {
|
||||
volumeName = "hedgedoc-uploads";
|
||||
storage = "50Mi";
|
||||
};
|
||||
|
||||
database = {
|
||||
volumeName = "hedgedoc-db";
|
||||
storage = "100Mi";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue