Discourse is a modern, open-source discussion and forum system. Visit the official site for a demo and a breakdown of the current feature set. This tutorial will teach you how to setup Discourse with Docker on Ubuntu 18.04.
It is recommended to use at least 2GB of RAM. Always select the latest 64-bit LTS distribution.
Connect to your server using SSH via the Terminal on Mac or PuTTY on Windows.
Replace the example IP address with your server's IP address.
Run the following command:
wget -qO- https://get.docker.io/ | sh
Make a folder called "discourse" in the /var directory:
Clone the official Discourse git repository in /var/discourse:
git clone https://github.com/discourse/discourse_docker.git /var/discourse
Go into the Discourse directory:
Copy the standalone sample config file to containers/app.yml:
cp samples/standalone.yml containers/app.yml
Edit containers/app.yml file:
Be sure to remove the # comment character at the front of the strings.
Save the file and exit.
Note: The email settings are required for the site to function properly.
./launcher bootstrap app
You may be asked a question during the installation about SSH keys. Type Yes.
Once the bootstrap process completes, start Discourse:
./launcher start app
To access your Discourse instance, navigate to value for DISCOURSE_HOSTNAME in your browser.