To get Discourse up and running on Coolify, I followed this guide by Cristian Buleandra:
The article provdes a Docker Compose .yml file that works for Coolify (with a few tweaks – check the comments).
It essentially installs the Bitnami Docker Image.
Access the Docker Container (Web UI)
Once Discourse is up and running, you can install plugins via Coolify by accessing the terminal for your Discourse container.
Go to Terminal>discourse container.


Letter
Plugin Installation Steps
Once your container is logged into, the steps below will install a plugin (which I found on the Bitnami website):
Open the discourse install directory:
cd /opt/bitnami/discourse
install the plugin from the GItHub Url:
RAILS_ENV=production bundle exec rake plugin:install repo=PLUGIN_REPO_URL
Precompile new plugin assets:
RAILS_ENV=production bundle exec rake assets:precompile
Finally, run the database migrations - this is needed for plugins that require database changes, such as Discourse Reactions plugin.
RAILS_ENV=production bundle exec rake db:migrate
That's it, to uninstall a plugin, follow the guide here.