NAS Hosted Install Bookstack on Synology using Portainer

Currently reading
NAS Hosted Install Bookstack on Synology using Portainer

Today I install Bookstack on Synology using DOcker COmpose through Portainer. Portainer makes it super easy!

First you need to make sure you have Portainer installed on Synology. Piece of cake, just follow this guide below.

Sorry for the horrible lighting. I was still figuring things out.

Now that Portainer is installed, we need to make a couple folders on our Synology NAS. Create /volume1/docker/boockstack. Then make sure have port 8912 available. If not you will need to change the port in the compose script below.

Open Portainer and go to the Stacks page. Create a new stack and name it Bookstack. Then paste this compose script into the editor.

version: "2"
    image: linuxserver/bookstack
    container_name: bookstack
      - PUID=1026
      - PGID=100
      - DB_HOST=bookstack_db
      - DB_USER=bookstack
      - DB_PASS=password
      - DB_DATABASE=bookstackapp
      - /volume1/docker/bookstack:/config
      - 8912:80
    restart: unless-stopped
      - bookstack_db
    image: linuxserver/mariadb
    container_name: bookstack_db
      - PUID=1026
      - PGID=100
      - MYSQL_ROOT_PASSWORD=password
      - TZ=America/Detroit
      - MYSQL_DATABASE=bookstackapp
      - MYSQL_USER=bookstack
      - MYSQL_PASSWORD=password
      - /volume1/docker/bookstack:/config
    restart: unless-stopped

Click Deploy and wait for the installation. This may take a few minutes to run. You can view the container logs to see the progress. This will not work if you did not make the folders first so keep that in mind.

Log into Bookstack at ip.of.your.server:8912 for the first time using [email protected] and password as the password.

Check me out on Youtube for more videos and tutorials like this!

Continue reading...
DS214, DS918+
Operating system
  1. macOS
Mobile operating system
  1. iOS
I am so looking forward to trying this in the next few to several months. Thank you for sharing.
DS418play, DS213j, DS3621+, DSM 7.0.4-11091
Tweak the PUID/PGID values to match that of your NAS user's.

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to! is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads