wiki: add acpu, open firewall again, increase RAM
acpu probably needs configuration...
This commit is contained in:
parent
f83250f1e5
commit
75e63ac17a
|
@ -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 ''
|
||||
|
|
Loading…
Reference in New Issue