What is the best way to install Discourse Forum on a Proxmox VM and expose it on the internet

That’s what you’ll have to do. Discourse-setup won’t work for your setup. You’ve chosen a decidedly difficult path. There are howto guides for installing with other web servers.

I’d recommend trying a more simple installation first.