wiki: add acpu, open firewall again, increase RAM

acpu probably needs configuration...
This commit is contained in:
Sandro - 2023-01-07 04:36:05 +01:00
parent f83250f1e5
commit 75e63ac17a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 10 additions and 1 deletions

View File

@ -6,7 +6,12 @@ in
{
c3d2.deployment.server = "server10";
networking.hostName = "mediawiki";
microvm.mem = 1024;
networking = {
firewall.allowedTCPPorts = [ 80 443 ]; # httpd, not nginx :(
hostName = "mediawiki";
};
services = {
logrotate.checkConfig = false;
@ -182,6 +187,10 @@ in
uploadsDir = "/var/lib/mediawiki/uploads";
};
phpfpm.phpPackage = pkgs.php.buildEnv {
extensions = { all, enabled }: enabled ++ (with all; [ apcu ]);
};
postgresql = {
enable = true;
authentication = lib.mkForce ''