Skip to content

Commit

Permalink
Add max upload size configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
evertramos committed May 6, 2018
1 parent 33d4da9 commit 9ceb5b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conf.d/uploadsize.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600

1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
volumes:
- ${WP_CORE}:/var/www/html
- ${WP_CONTENT}:/var/www/html/wp-content
- ./conf.d/uploadsize.ini:/usr/local/etc/php/conf.d/uploadsize.ini
environment:
WORDPRESS_DB_HOST: ${CONTAINER_DB_NAME}:3306
WORDPRESS_DB_NAME: ${MYSQL_DATABASE}
Expand Down

0 comments on commit 9ceb5b5

Please sign in to comment.