According to the official installation guide, discourse lives inside its own docker container.
So, you simply need to stop the container and remove /var/discourse folder.
Steps.
- ssh into your vps server.
cd /var/discourse./launcher stop app./launcher destroy appcd /varsudo rm -rf discourse