wip
This commit is contained in:
parent
bb84ca34a8
commit
642dee3c1f
1 changed files with 7 additions and 2 deletions
|
|
@ -80,8 +80,13 @@ COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|||
COPY docker/php/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
# Pass container env vars through to PHP-FPM workers (needed for settings.php overrides).
|
||||
RUN echo 'clear_env = no' >> /usr/local/etc/php-fpm.d/zz-env.conf
|
||||
# Pass container env vars through to PHP-FPM workers; capture worker stderr so errors appear in container logs.
|
||||
RUN { \
|
||||
echo 'clear_env = no'; \
|
||||
echo 'catch_workers_output = yes'; \
|
||||
echo 'php_admin_flag[log_errors] = on'; \
|
||||
echo 'php_admin_value[error_log] = /dev/stderr'; \
|
||||
} >> /usr/local/etc/php-fpm.d/zz-env.conf
|
||||
|
||||
RUN chown -R www-data:www-data web/sites/default/files && \
|
||||
chmod -R 755 web/sites/default/files && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue