Thank you for your help. I’ve just found the problem. It seems that Apache doesn’t like to receive requests through an hostname containing underscore characters.
Using the container_name directive in my docker-compose.yml (eg. gru-joomla) fixed the problem.
More info here: