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.


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/discourseinstall the plugin from the GItHub Url:
RAILS_ENV=production bundle exec rake plugin:install repo=PLUGIN_REPO_URLPrecompile new plugin assets:
RAILS_ENV=production bundle exec rake assets:precompileFinally, 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:migrateThat's it, to uninstall a plugin, follow the guide here.

Buy me a coffee



