How do I run Discourse on Pterodactyl Panel?

I’m not sure what that is. The information about how to configure a web server for Pterodactyl is available in its installation documentation which would be the “other website” in the documentation linked to in my previous post.

If you didn’t already work through that documentation to install Pterodactyl, you might be renting it as a service in which case you almost certainly don’t have the root access needed to install Discourse alongside it.

If you don’t have root access, it also wouldn’t really work as an egg even if one existed. The Pterodactyl Panel probably uses ports 80/443 and without being able to modify its web server config, you would be stuck running Discourse on different ports. This would mean visitors couldn’t use https://yourdiscourse.com because that would reach Pterodactyl, they would have to use something like https://yourdiscourse.com:12345 instead.