Format repo
This commit is contained in:
parent
3169149045
commit
8160b9da0b
37 changed files with 643 additions and 392 deletions
|
@ -1,9 +1,14 @@
|
|||
{ config, lib, globals, ... }: {
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
globals,
|
||||
...
|
||||
}: {
|
||||
options.hedgedoc.enable = lib.mkEnableOption "hedgedoc";
|
||||
|
||||
config = lib.mkIf config.hedgedoc.enable {
|
||||
kubernetes.resources = {
|
||||
configMaps.hedgedoc-config.data.config = lib.generators.toJSON { } {
|
||||
configMaps.hedgedoc-config.data.config = lib.generators.toJSON {} {
|
||||
useSSL = false;
|
||||
};
|
||||
|
||||
|
@ -106,10 +111,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
volumeMounts = [{
|
||||
name = "database";
|
||||
mountPath = "/pgdata";
|
||||
}];
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "database";
|
||||
mountPath = "/pgdata";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
volumes.database.persistentVolumeClaim.claimName = "database";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue