Probably Discourse can’t figure out DNS for your <mycompany>.com
.
Set dns in DOCKER_OPTS
. You can point to Google DNS server as 8.8.8.8
or ask your IT about internal DNS server (probably you have one)
Then restart docker. You can find the detailed steps by following the link.