Skip to content

Commit

Permalink
Merge pull request #182 from OpenConext/feature/php_allow_url_fopen
Browse files Browse the repository at this point in the history
Docker: Add php.ini override file.
  • Loading branch information
quartje authored Mar 4, 2024
2 parents e8c45f2 + 14239a0 commit 5abe623
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN rm -rf /etc/apache2/sites-enabled/* /var/www/html/var/cache/prod/ && \
chown -R www-data /var/www/html/var

COPY ./docker/conf/tiqr-apache2.conf /etc/apache2/sites-enabled/tiqr.conf
COPY ./docker/conf/zz-docker.ini /usr/local/etc/php/conf.d/
EXPOSE 80

CMD ["apache2-foreground"]
1 change: 1 addition & 0 deletions docker/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN bin/console assets:install
# Add the config files for Apache2
RUN rm -rf /etc/apache2/sites-enabled/*
COPY ./docker/conf/tiqr-apache2.conf /etc/apache2/sites-enabled/tiqr.conf
COPY ./docker/conf/zz-docker.ini /usr/local/etc/php/conf.d/
RUN rm -rf /var/www/html/var/cache/prod && \
mkdir -p /var/www/html/var/ && \
chown -R www-data /var/www/html/var
Expand Down
1 change: 1 addition & 0 deletions docker/conf/zz-docker.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
allow_url_fopen = On

0 comments on commit 5abe623

Please sign in to comment.