Move Forgejo off Longhorn

This commit is contained in:
Pim Kunis 2025-05-25 18:16:55 +02:00
parent 83cd881e54
commit 415c60be45

View file

@ -29,6 +29,7 @@
# This disables services from becoming environmental variables
# to prevent SSH_PORT clashing with Forgejo config.
enableServiceLinks = false;
nodeName = "jefke";
containers.forgejo = {
image = globals.images.forgejo;
@ -58,7 +59,10 @@
};
volumes = {
data.persistentVolumeClaim.claimName = "data";
data.hostPath = {
path = "/mnt/longhorn/persistent/volumes/forgejo";
type = "Directory";
};
config.secret.secretName = "forgejo";
};
};
@ -97,11 +101,6 @@
portName = "web";
};
};
longhorn.persistentVolumeClaim.data = {
volumeName = "forgejo";
storage = "20Gi";
};
};
};
}