Source:

https://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/

By default maximum upload file size is 2MB. If you want more, change this:

change “.htaccess” config in root dir of WordPress

vi /var/lib/docker/volumes/blogusemycloud_data_wp/_data/.htaccess
  • add this four lines to end
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
  • install and activate this plugin:
  • set new size and save settings
  • add plugin for resizing images: