Musicbrainz 502 Bad gateway solved

To solve 502 bad gateway you need to install 3 packages:
php7, php7-fpm and php7-cgi
run:

docker exec musicbrainz apk add php7 php7-fpm php7-cgi

That solved the issue for me…

Now running ok last built on postgres 12 without issues

Tried your solution, but no success. Maybe it should be done on the docker image.