DISCOURSE INSTALLED, BUT NOT SENDING EMAILS
I changed the discourse port in app.yml to 8888 and also in the Cloudpanel vhost, then stopped NGINX to recompile discourse and it worked.
I reactivated NGINX and both the websites and discourse remained online.
The problem is that discourse is not sending emails at all; we need the account activation email.
I already changed the ports and it didn’t help.
On the same server, I installed Mailcow inside a Docker container and it is working normally, both sending and receiving emails.