summaryrefslogtreecommitdiff
path: root/docker/etc/php7/php-fpm.conf
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2017-11-30 16:47:52 -0800
committerFrédéric Guillot <fred@kanboard.net>2017-11-30 16:55:53 -0800
commit55547db6ce691a71d19a502178c2a9e00a303dd5 (patch)
tree41197ca843b9b0d5f47e6b22e5bcc00a4aa37b68 /docker/etc/php7/php-fpm.conf
parent12202f04511c14844641edce879afd81e10e767b (diff)
Improve docker build to use hooks
Diffstat (limited to 'docker/etc/php7/php-fpm.conf')
-rw-r--r--docker/etc/php7/php-fpm.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/docker/etc/php7/php-fpm.conf b/docker/etc/php7/php-fpm.conf
new file mode 100644
index 00000000..ea227529
--- /dev/null
+++ b/docker/etc/php7/php-fpm.conf
@@ -0,0 +1,19 @@
+[global]
+error_log = /proc/self/fd/2
+log_level = error
+daemonize = no
+
+[www]
+catch_workers_output = yes
+user = nginx
+group = nginx
+listen.owner = nginx
+listen.group = nginx
+listen = /var/run/php-fpm.sock
+pm = dynamic
+pm.max_children = 20
+pm.start_servers = 1
+pm.min_spare_servers = 1
+pm.max_spare_servers = 3
+pm.max_requests = 2048
+include = /etc/php7/php-fpm.d/env.conf \ No newline at end of file