Bump postgreses

This commit is contained in:
Sandro - 2023-09-26 22:10:50 +02:00
parent 08ae6a32bc
commit 0352666ed4
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
4 changed files with 6 additions and 11 deletions

View File

@ -34,7 +34,7 @@ in
"DATABASE drone" = "ALL PRIVILEGES";
};
}];
package = pkgs.postgresql_15;
package = pkgs.postgresql_16;
upgrade.stopServices = [ "drone-server" ];
};
};

View File

@ -1,15 +1,10 @@
{ config, pkgs, lib, libC, libS, ... }:
{ config, pkgs, lib, libC, ... }:
{
c3d2.deployment.server = "server10";
microvm.mem = 4 * 1024;
environment.systemPackages = with pkgs; [
# used to restore database dumps
config.services.postgresql.package unzip
];
networking = {
hostName = "gitea";
firewall.allowedTCPPorts = [ 2222 ];
@ -137,7 +132,7 @@
portunus.addToHosts = true;
postgresql = {
package = pkgs.postgresql_15;
package = pkgs.postgresql_16;
upgrade.stopServices = [ "gitea" ];
};
};

View File

@ -76,7 +76,7 @@
"DATABASE \"hedgedoc\"" = "ALL PRIVILEGES";
};
}];
package = pkgs.postgresql_15;
package = pkgs.postgresql_16;
upgrade.stopServices = [ "hedgedoc" ];
};
};

View File

@ -64,7 +64,7 @@ in
lt-cred-mech = true;
extraConfig = with zentralwerk.lib.config.site; ''
external-ip=${hosts.upstream4.interfaces.up4-pppoe.upstream.staticIpv4Address}/${net.serv.hosts4.jabber}
user=${coturnUser}:${coturnPassword}
'';
};
@ -80,7 +80,7 @@ in
"DATABASE prosody" = "ALL PRIVILEGES";
};
}];
package = pkgs.postgresql_15;
package = pkgs.postgresql_16;
upgrade.stopServices = [ "prosody" ];
};
#TODO: txt records?