Don't cache ntfy stuff
This commit is contained in:
parent
704bb54028
commit
10ffcff6e4
2 changed files with 3 additions and 30 deletions
|
@ -32,42 +32,17 @@
|
||||||
env.TZ.value = "Europe/Amsterdam";
|
env.TZ.value = "Europe/Amsterdam";
|
||||||
|
|
||||||
volumeMounts = [
|
volumeMounts = [
|
||||||
{
|
|
||||||
name = "cache";
|
|
||||||
mountPath = "/var/cache/ntfy";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "data";
|
name = "data";
|
||||||
mountPath = "/var/lib/ntfy";
|
mountPath = "/var/lib/ntfy";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "attachment-cache";
|
|
||||||
mountPath = "/var/cache/ntfy-attachments";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
volumes = {
|
volumes.data.hostPath = {
|
||||||
data.hostPath = {
|
|
||||||
path = "/mnt/longhorn/persistent/volumes/ntfy";
|
path = "/mnt/longhorn/persistent/volumes/ntfy";
|
||||||
type = "Directory";
|
type = "Directory";
|
||||||
};
|
};
|
||||||
|
|
||||||
cache.hostPath = {
|
|
||||||
path = "/tmp/ntfy-cache";
|
|
||||||
type = "DirectoryOrCreate";
|
|
||||||
};
|
|
||||||
|
|
||||||
attachment-cache.hostPath = {
|
|
||||||
path = "/tmp/ntfy-attachment-cache";
|
|
||||||
type = "DirectoryOrCreate";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
securityContext = {
|
|
||||||
fsGroup = 407;
|
|
||||||
fsGroupChangePolicy = "Always";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,11 +7,9 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
base-url = "https://ntfy.kun.is";
|
base-url = "https://ntfy.kun.is";
|
||||||
cache-file = "/var/cache/ntfy/cache.db";
|
|
||||||
cache-duration = "14d";
|
cache-duration = "14d";
|
||||||
auth-file = "/var/lib/ntfy/user.db";
|
auth-file = "/var/lib/ntfy/user.db";
|
||||||
auth-default-access = "deny-all";
|
auth-default-access = "deny-all";
|
||||||
attachment-cache-dir = "/var/cache/ntfy-attachments";
|
|
||||||
enable-signup = false;
|
enable-signup = false;
|
||||||
enable-login = true;
|
enable-login = true;
|
||||||
visitor-subscription-limit = 100;
|
visitor-subscription-limit = 100;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue