Update postgres to 15
This commit is contained in:
parent
137a809232
commit
1bc774c24f
3 changed files with 61 additions and 2 deletions
|
@ -244,5 +244,30 @@
|
|||
};
|
||||
cloud.traefik.hosts.minio = { host = "s3.dtth.ch"; port = 61929; };
|
||||
system.stateVersion = "21.11";
|
||||
|
||||
# ntfy
|
||||
cloud.traefik.hosts.ntfy-sh = { host = "ntfy.nkagami.me"; port = 11161; };
|
||||
services.ntfy-sh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
listen-http = "127.0.0.1:11161";
|
||||
cache-file = "/var/lib/ntfy-sh/cache.db";
|
||||
auth-file = "/var/lib/ntfy-sh/auth.db";
|
||||
auth-default-access = "deny-all";
|
||||
behind-proxy = true;
|
||||
base-url = "https://ntfy.nkagami.me";
|
||||
attachment-cache-dir = "/var/lib/ntfy-sh/attachments";
|
||||
enable-login = true;
|
||||
enable-reservations = true;
|
||||
upstream-base-url = "https://ntfy.sh";
|
||||
};
|
||||
};
|
||||
systemd.services.ntfy-sh.serviceConfig = {
|
||||
WorkingDirectory = "/var/lib/ntfy-sh";
|
||||
StateDirectory = "ntfy-sh";
|
||||
};
|
||||
systemd.services.ntfy-sh.preStart = ''
|
||||
mkdir -p /var/lib/ntfy-sh/attachments
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ in
|
|||
lfs.enable = true;
|
||||
|
||||
# Backup
|
||||
dump.enable = true;
|
||||
# dump.enable = true;
|
||||
};
|
||||
|
||||
# Set up gpg signing key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue