I am a little confused about when a new Docker-based install of Discourse exposes port 80. Let me explain…
When I run ./discourse-setup I assume that the initial questions (host name, eMail address, etc) are all presented BEFORE the container is created and therefore before Discourse is exposing port 80. Is that correct?
If so, doesn’t that present a bit of a catch-22 when entering a host name?
I have created my A record (and it’s pingable, via host name). But port 80 is not open. I think I understand why, namely the container is not yet created.
But if that is the case, how can that initial verification of the host name ever work, if it’s verifying it before the container is created.
Obviously I have a bad assumption here so can someone please put me out of my misery?