I followed the instructions at discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub for the most part.
Here are the exact steps I did:
* Set up Swap (if needed)
Because of ‘If you’re using 2 GB+ memory, you can probably get by without a swap file.’, I figured I didn’t need one so I didn’t set one up.
Edit:
Checking with free -m
it returns a Memory total of 1999
so this could be part of the problem as that says 2GB+ not 2GB (which would be 2048 MB so it seems I’m 49MB short of that).
* Install Docker / Git
I skipped running the command wget -qO- https://get.docker.com/ | sh
as I figured for Gentoo the packages app-emulation/docker and dev-vcs/git covered it.
* Install Discourse
I ran the listed commands:
mkdir /var/discourse git clone https://github.com/discourse/discourse_docker.git /var/discourse cd /var/discourse cp samples/standalone.yml containers/app.yml
Which appeared to complete successfully.
* Edit Discourse Configuration
I edited containers/app.yml
with nano as listed in my first post.
* Bootstrap Discourse
Ran ./launcher bootstrap app
Than ran ./launcher start app
* Register New Account and Become Admin
I was able to do this except of course for the email validation
So I haven’t really been able to add plugins or change site settings.
I can now with the manual admin user creation but without working email, not much point in changing other things yet.
Edit:
I did end up doing these steps twice because the first time docker used the vfs storage driver and ran out of space so I wiped out /var/lib/docker, told docker to use overlayfs and restarted it.
I also ended up wiping out /var/discourse incase something was wrong there.