mastus/ttrss: update to 19.09
This commit is contained in:
parent
e0d1ac9d2c
commit
b0fa421392
@ -3,6 +3,7 @@
|
||||
containers.ttrss = {
|
||||
config = {
|
||||
users.extraUsers.ttrss = {};
|
||||
users.extraGroups.ttrss = {};
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
@ -33,23 +34,21 @@
|
||||
};
|
||||
|
||||
services.phpfpm = {
|
||||
extraConfig = ''
|
||||
error_log = /var/log/phpfpm.log
|
||||
log_level = notice
|
||||
'';
|
||||
|
||||
poolConfigs = {
|
||||
ttrss = ''
|
||||
listen = 9000
|
||||
user = ttrss
|
||||
pm = dynamic
|
||||
pm.max_children = 75
|
||||
pm.start_servers = 10
|
||||
pm.min_spare_servers = 5
|
||||
pm.max_spare_servers = 20
|
||||
pm.max_requests = 500
|
||||
catch_workers_output = 1
|
||||
'';
|
||||
pools = {
|
||||
ttrss = {
|
||||
user = "ttrss";
|
||||
group = "ttrss";
|
||||
settings = {
|
||||
listen = "9000";
|
||||
pm = "dynamic";
|
||||
"pm.max_children" = 75;
|
||||
"pm.start_servers" = 10;
|
||||
"pm.min_spare_servers" = 5;
|
||||
"pm.max_spare_servers" = 20;
|
||||
"pm.max_requests" = 500;
|
||||
catch_workers_output = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user