Move Forgejo off Longhorn
This commit is contained in:
parent
83cd881e54
commit
415c60be45
1 changed files with 5 additions and 6 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue