Format repo
This commit is contained in:
parent
3169149045
commit
8160b9da0b
37 changed files with 643 additions and 392 deletions
|
@ -1,4 +1,9 @@
|
|||
{ globals, lib, config, ... }: {
|
||||
{
|
||||
globals,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options.paperless.enable = lib.mkEnableOption "paperless";
|
||||
|
||||
config = lib.mkIf config.paperless.enable {
|
||||
|
@ -64,10 +69,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
volumeMounts = [{
|
||||
name = "data";
|
||||
mountPath = "/data";
|
||||
}];
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/data";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
|
@ -107,10 +114,12 @@
|
|||
ports.redis.containerPort = 6379;
|
||||
imagePullPolicy = "IfNotPresent";
|
||||
|
||||
volumeMounts = [{
|
||||
name = "data";
|
||||
mountPath = "/data";
|
||||
}];
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/data";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
|
@ -159,10 +168,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
volumeMounts = [{
|
||||
name = "data";
|
||||
mountPath = "/pgdata";
|
||||
}];
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/pgdata";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
volumes.data.persistentVolumeClaim.claimName = "database";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue