When working with WordPress in Docker, you may need to increase the default file upload size limits. Here are multiple methods to accomplish this:
This is the cleanest approach that persists through container restarts.
- Create a custom PHP configuration file: