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.
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...
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...