- Prepare
uploads.ini
file depends on your usage, upload it to somewhere on your NAS. For example: /wordpress-docker/data/uploads.ini
file_uploads = On
memory_limit = 500M
upload_max_filesize = 500M
post_max_size = 500M
max_execution_time = 600
- Goto Container manager > Container >
xxx-wordpress
- Stop the container then editing settings
- Add a docker volume link from
/wordpress-docker/data/uploads.ini
to /usr/local/etc/php/conf.d/uploads.ini
- Start your container, and it works
- Be aware that this configuration will be auto removed when dockert image upgrade, so you need to re-configured again then.