summaryrefslogtreecommitdiff
path: root/.docker/php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-28 12:14:37 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-28 12:14:37 -0500
commit85d4833ce5de9a54f5d928cf4c4a7a239e9b19d3 (patch)
tree87a47ac1b3c7fe8db51a39a160a574a4e0f70afd /.docker/php
parent8d71bbb1228fcfb3da80010c94b747cc56f739e2 (diff)
Add some environment variables
Diffstat (limited to '.docker/php')
-rw-r--r--.docker/php/conf.d/local.ini2
-rw-r--r--.docker/php/php-fpm.conf4
2 files changed, 5 insertions, 1 deletions
diff --git a/.docker/php/conf.d/local.ini b/.docker/php/conf.d/local.ini
index 12d22cc6..77b6daf0 100644
--- a/.docker/php/conf.d/local.ini
+++ b/.docker/php/conf.d/local.ini
@@ -2,7 +2,7 @@ expose_php = Off
error_reporting = E_ALL
display_errors = Off
log_errors = On
-error_log = syslog
+error_log = /dev/stderr
date.timezone = UTC
allow_url_fopen = On
post_max_size = 30M
diff --git a/.docker/php/php-fpm.conf b/.docker/php/php-fpm.conf
index 0e5eab21..6a9c6459 100644
--- a/.docker/php/php-fpm.conf
+++ b/.docker/php/php-fpm.conf
@@ -5,6 +5,10 @@ daemonize = no
[www]
env[DATABASE_URL] = $DATABASE_URL
+env[DEBUG] = $DEBUG
+env[DEBUG_FILE] = $DEBUG_FILE
+
+catch_workers_output = yes
user = nginx
group = nginx
listen.owner = nginx