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.

Code:
---
version: "2"
services:
  bookstack:
    image: linuxserver/bookstack
    container_name: bookstack
    environment:
      - PUID=1026
      - PGID=100
      - DB_HOST=bookstack_db
      - DB_USER=bookstack
      - DB_PASS=password
      - DB_DATABASE=bookstackapp
    volumes:
      - /volume1/docker/bookstack:/config
    ports:
      - 8912:80
    restart: unless-stopped
    depends_on:
      - bookstack_db
  bookstack_db:
    image: linuxserver/mariadb
    container_name: bookstack_db
    environment:
      - PUID=1026
      - PGID=100
      - MYSQL_ROOT_PASSWORD=password
      - TZ=America/Detroit
      - MYSQL_DATABASE=bookstackapp
      - MYSQL_USER=bookstack
      - MYSQL_PASSWORD=password
    volumes:
      - /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...
 
5
0
NAS
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.
 
1,071
356
NAS
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 SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top