This was one of the approaches in that long thread, which several people criticised. Since the original article is used as the introduction into docker compose
and because the wordpress image always ships with the default limit for the upload size, I would think that the 2 solutions proposed by @NaveenKharwar might be a better approach.
Let’s see what @gforghetti comes up with expanding on his message above