summaryrefslogtreecommitdiff
path: root/.docker/php/php-fpm.conf
diff options
context:
space:
mode:
Diffstat (limited to '.docker/php/php-fpm.conf')
-rw-r--r--.docker/php/php-fpm.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/.docker/php/php-fpm.conf b/.docker/php/php-fpm.conf
new file mode 100644
index 00000000..5d84c2ae
--- /dev/null
+++ b/.docker/php/php-fpm.conf
@@ -0,0 +1,23 @@
+[global]
+error_log = /dev/stderr
+log_level = error
+daemonize = no
+
+[www]
+env[DATABASE_URL] = $DATABASE_URL
+env[DEBUG] = $DEBUG
+env[DEBUG_FILE] = $DEBUG_FILE
+env[ENABLE_SYSLOG] = $ENABLE_SYSLOG
+
+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