mastus/ttrss: update to 19.09

This commit is contained in:
Gabriel Ebner 2019-10-31 19:36:18 +01:00
parent e0d1ac9d2c
commit b0fa421392

@ -3,6 +3,7 @@
containers.ttrss = { containers.ttrss = {
config = { config = {
users.extraUsers.ttrss = {}; users.extraUsers.ttrss = {};
users.extraGroups.ttrss = {};
services.postgresql = { services.postgresql = {
enable = true; enable = true;
@ -33,23 +34,21 @@
}; };
services.phpfpm = { services.phpfpm = {
extraConfig = '' pools = {
error_log = /var/log/phpfpm.log ttrss = {
log_level = notice user = "ttrss";
''; group = "ttrss";
settings = {
poolConfigs = { listen = "9000";
ttrss = '' pm = "dynamic";
listen = 9000 "pm.max_children" = 75;
user = ttrss "pm.start_servers" = 10;
pm = dynamic "pm.min_spare_servers" = 5;
pm.max_children = 75 "pm.max_spare_servers" = 20;
pm.start_servers = 10 "pm.max_requests" = 500;
pm.min_spare_servers = 5 catch_workers_output = 1;
pm.max_spare_servers = 20 };
pm.max_requests = 500 };
catch_workers_output = 1
'';
}; };
}; };