Run a Ghost blog on Synology NAS via Docker

Step 1: Setup domain name and DDNS

We want to make sure that https://ghost.mydomain.com will reach our Synology NAS correctly. To do this, follow this tutorial.

Step 2: Prepare Docker

  1. Open the Docker package, go on Registry and search for docker. Double click on it to download the latest docker image.
  2. Open File Station, locate your docker folder (in my case /volume1/docker/) and create a new folder in it called ghost. (Note that if you want to run multiple Ghost blogs, you need separate Ghost containers).

Step 3: Setup Docker container

Access to your NAS via SSH. Once you are in with root access, you need to type following:

docker run \
--name ghost \
 -p 32794:2368 \
 -e url=https://ghost.mydomain.com \
 -v /volume1/docker/ghost:/var/lib/ghost/content \
 --restart=always \
ghost

Step 4: Setup Ghost

To get to the Ghost admin panel visit https://ghost.mydomain.com/ghost/