I see Discourse by port number but i couldn't see it to subdomain. (:3001)

I’m sorry, but Discourse isn’t supported on non-standard ports.

You’re going to need to install on :80/:443 to get any assistance here.

If you use the search you will find several topics on using Apache as a reverse proxy, but as Discourse includes nginx within the container no external web server is required for installation.