Collection of scripts for setting up Ghost and NodeBB inside Docker.
For more information, see the installation instructions blog post hosted using this exact setup. With this repo you should have it all running in under 15 minutes!
The end result right out of the box will look like this:
Blog admin
Forum admin
You need an Ubuntu system for easiest setup. It should probably be a virtual machine hosted somewhere. First SSH to your server like this (or run it locally):
ssh -L 8443:127.0.0.1:443 -L 2368:127.0.0.1:2368 -L 4567:127.0.0.1:4567 xxx.xxx.xxx.xxx
Replace the xxx
's with your IP. The extra -L
port forwarding flags are for gaining private access
to the blog and forum for setting up admin passwords before making the site public.
Then set up Docker:
sudo apt-get update
sudo apt-get install software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce
Then set up the blog, forum and database:
sudo mkdir -p /opt/blog
sudo chown --reference ~ /opt/blog
chmod a+rX /opt/blog
cd /opt/blog
git clone https://github.com/charto/blog-setup.git .
sudo ./setup.sh
Finally, you can see it run:
Please see the blog post regarding finishing touches before making it public.