Skip to content

Commit 9e10fe3

Browse files
committed
Added ability to setup custom php configuration from ini file
1 parent ba6b0af commit 9e10fe3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.docker/os2web/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ RUN echo '<?php $settings["project_env"] = PROD_ENV; ' > /opt/drupal/web/sites/d
5656
# Adding custom apache configuration with PHP value and log settings.
5757
COPY apache/000-default.conf /etc/apache2/sites-enabled/000-default.conf
5858

59+
# Additional PHP configuration for both CLI and Apache
60+
COPY php/os2web-php.ini /usr/local/etc/php/conf.d/os2web-php.ini
61+
5962
# Addjusting output channels for access and error log.
6063
RUN ln -sf /dev/stderr /var/log/apache2/error.log; \
6164
ln -sf /dev/stdout /var/log/apache2/access.log; \

.docker/os2web/php/os2web-php.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
memory_limit=512M

0 commit comments

Comments
 (0)