Skip to content

Commit

Permalink
fix: bump max file upload size to 100MB
Browse files Browse the repository at this point in the history
  • Loading branch information
zeevox committed May 25, 2024
1 parent 54de6f4 commit b035808
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ RUN a2enmod rewrite
# Increase PHP memory limit
RUN echo 'memory_limit = 1G' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini;

# Increase max file upload size
RUN echo 'upload_max_filesize = 100M' >> /usr/local/etc/php/conf.d/docker-php-uploadlimit.ini;
RUN echo 'post_max_size = 100M' >> /usr/local/etc/php/conf.d/docker-php-uploadlimit.ini;

# Install PHP composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

Expand Down

0 comments on commit b035808

Please sign in to comment.