BookStack Deployment | Part 5
What is BookStack?
BookStack is an open-source platform for creating and managing documentation and knowledge bases. It was created to provide a simple and elegant solution for organizing information in a way that is easy to access and update.
With BookStack, users can create books, chapters, and pages, as well as add media files and embed external content such as YouTube videos and Google Maps. The platform also provides tools for managing user permissions, allowing administrators to control who can view and edit content.
Get 20€ in cloud credits to get started with Hetzner on this link.
Video Walkthrough
Installation
Before deploying this stack in Portainer, make sure to add a domain & setup SSL and proxy host first. More in video walkthrough.
Please change to your own values [YOUR VALUE]!
version: "2"
services:
bookstack:
image: lscr.io/linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- APP_URL=[YOUR VALUE]
- DB_HOST=bookstack_db
- DB_USER=[YOUR VALUE]
- DB_PASS=[YOUR VALUE]
- DB_DATABASE=bookstackapp
- SESSION_SECURE_COOKIE=true
- SESSION_COOKIE_NAME=[YOUR VALUE]
- MAIL_DRIVER=smtp
- MAIL_FROM=[YOUR VALUE]
- MAIL_FROM_NAME=[YOUR VALUE]
- MAIL_HOST=[YOUR VALUE]
- MAIL_PORT=587
- MAIL_USERNAME=[YOUR VALUE]
- MAIL_PASSWORD=[YOUR VALUE]
- MAIL_ENCRYPTION=tls
- ALLOWED_IFRAME_HOSTS="*"
- ALLOWED_IFRAME_SOURCES="*"
# - APP_DEFAULT_DARK_MODE=true
volumes:
- ./bookstack/data:/config
ports:
- 6885:80
restart: unless-stopped
depends_on:
- bookstack_db
bookstack_db:
image: lscr.io/linuxserver/mariadb:latest
container_name: bookstack_db
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=[YOUR VALUE]
- TZ=[YOUR VALUE]
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=[YOUR VALUE]
- MYSQL_PASSWORD=[YOUR VALUE]
volumes:
- ./bookstack/db:/config
restart: unless-stopped
Login into BookStack
Now is time to visit your BookStack dashboard!
Default login details are admin@admin.com and password "password".
About Webnestify
Imagine a world where you can focus on your business and less time maintaining your cloud infrastrucure. With Webnestify cloud based solutions, we provide customized solutions for all types of companies to meet their needs; no matter how big or small they may be!
Read our reviews on Trustpilot!
Subscribe to our YouTube channel!
If you need to setup your own Docker instances or need help with security, visit our Docker deployment service.
