You are correct.
You should have received a warning from Discourse-setup saying that it couldn’t connect.
It’s not supported. If you want to run begging a firewall you’ll need to find some other way to get a certificate. You might see Allow SSL / HTTPS for your Discourse Docker setup