The example docker compose manifest found on the docker hub page for the official mediawiki image (which appears to be sourced from here) differs significantly from the manifest found in mediawiki/core.
Unless there is a good reason to maintain different versions, I think it would be good to de-duplicate somehow, either by mentioning/linking to the manifest in mediawiki/core or automatically propagating changes from core to docker hub.