I'm trying MW 1.35.1 in a docker compose setup. The visual editor is working as expected without any additional configuration when the docker image is port mapped to port 80 on the host as it is also on port 80 in the docker image.
However, if I try to reach the Mediawiki docker container (where MW is running on port 80) through an HAProxy container that forwards port 8080 from the browser to port 80 on the Mediawiki container the visual editor breaks. I think it has something to do with having to configure the URLs for Parsoid, RESTBase, etc. but I'm not sure how to do this. Most of the existing documentation is for previous versions that needed manual installation and configuration of VE and its dependencies.
Any hints for what is needed in LocalSettings.php to deal with the proxying from port 8080 to 80, or any other proxy related configuration on the MW side? Thanks!