Did you follow discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub?
Discourse requires a valid domain name. It’s difficult to host a web site on a home computer.
You should provide an email address when discourse-setup asks for a let’s encrypt email address rather than trying to create your own certificates.