🌐
Docker
hub.docker.com › r › linuxserver › bookstack
linuxserver/bookstack - Docker Image
If you do not already have one, we provide an image here https://github.com/linuxserver/docker-mariadb⁠. If you intend to use this application behind a subfolder reverse proxy, such as our SWAG container or Traefik you will need to make sure that the APP_URL environment variable is set to your external domain, or it will not work. Documentation for BookStack can be found at https://www.bookstackapp.com/docs/⁠.
Explore
Solid LLaMA 3 update, reliable for coding, chat, and Q&A tasks · Distilled LLaMA by DeepSeek, fast and optimized for real-world tasks
Docker Hub Container Image Library
Welcome to the world's largest container registry built for developers and open source contributors to find, use, and share their container images. Build, push and pull.
Linuxserver
Discover official Docker images from linuxserver, an Open Source publisher on Docker Hub. Visit their profile and explore images they maintain.
Models as OCI Artifacts in Docker Hub
Explore Docker's curated catalog of generative AI images. Discover powerful models like IBM Granite, Llama, Mistral, Phi 2 and SolarLLM, applications such as JupyterHub and H2O.ai, and essential tools for machine learning, model deployment, inference optimization, orchestration, ML frameworks, ...
🌐
LinuxServer.io
docs.linuxserver.io › images › docker-bookstack
bookstack - LinuxServer.io
Below is a mapping of container /config paths to those relative within a BookStack install directory: ... If you change the APP_URL after initial install, you should run the following line from your host terminal to update the database URL entries: docker exec -it bookstack php /app/www/artisan bookstack:update-url ${OLD_URL} ${NEW_URL}
Discussions

Anybody has a bookstack docker-compose file I can use to self host?
This is common on windows. Something funk goes on at the filesystem level in this configuration which causes issues with migrations. There's a relevant thread here . Some folks in there have solved it via alternative volume options, or alternative database docker images. Should not be something you experience on Linux though. More on reddit.com
🌐 r/selfhosted
17
8
October 21, 2023
Bookstack Installation
I have, but being the dev of BookStack I do have some prior experience which helps. What's going wrong? If it helps I've created a range of videos showing different install types from start to finish so the full steps can be understood. More on reddit.com
🌐 r/selfhosted
18
1
April 17, 2023
bookstack docker not reachable

edit: It is now reachable. It just took 30 mins on raspberry pi 3

More on reddit.com
🌐 r/selfhosted
8
1
February 24, 2020
[Help] setting up BookStack Docker container

I've done the following. I run a seperate MariaDB instance. First create the mariaDB:

docker create \
  --restart=always \
  --name=mariadb-bookstack \
   -v /DOCKER-DATA/mariadb-bookstack:/var/lib/mysql \
   -e MYSQL_ROOT_PASSWORD=[MARIADB-ROOT-PASSWORD] \
   -e MYSQL_DATABASE=bookstack \
   -e MYSQL_USER=bookstack \
   -e MYSQL_PASSWORD=[BOOKSTACKDB-PASSWORD] \
  -e TZ=Europe/Amsterdam \
mariadb

Then create the bookstack container:

docker create \
  --restart=always \
  --name=bookstack \
  --link mariadb-bookstack:mariadb-bookstack \
-e DB_HOST=mariadb-bookstack:3306 \
-e DB_DATABASE=bookstack \
-e DB_USERNAME=bookstack \
-e DB_PASSWORD=[BOOKSTACKDB-PASSWORD] \
-p 8011:80 \
solidnerd/bookstack:0.14.3

First start the MariaDB container, check with docker logs mariadbname if everything is cool, then start the bookstack container. Connect to bookstack on 8011 or adjust the port :)

More on reddit.com
🌐 r/selfhosted
4
3
April 11, 2017
People also ask

How secure is Bookstack?
As a self-hosted application, you have full control over security. Bookstack provides granular user and role management to control access. If you run it behind a reverse proxy, the connection is encrypted via HTTPS. Regular updates to the software and the server are crucial for security.
🌐
deployn.de
deployn.de › blog › homeserver › set up bookstack as an open source knowledge base with docker
Set Up Bookstack as an Open Source Knowledge Base with Docker
How can I integrate Bookstack with other systems?
Bookstack provides a REST API that allows interaction with other systems. This enables you to programmatically create, read, or update content. There are also webhook integrations to notify other services about events in Bookstack.
🌐
deployn.de
deployn.de › blog › homeserver › set up bookstack as an open source knowledge base with docker
Set Up Bookstack as an Open Source Knowledge Base with Docker
Can I export my data from Bookstack?
Yes, Bookstack offers various export options. You can export individual pages as PDF, HTML, or plain text. Entire books can also be exported. This ensures that you are not locked into the platform.
🌐
deployn.de
deployn.de › blog › homeserver › set up bookstack as an open source knowledge base with docker
Set Up Bookstack as an Open Source Knowledge Base with Docker
🌐
BookStack
bookstackapp.com › docs › admin › installation
Installation · BookStack
Set the web root on your server to point to the BookStack public folder. This is done with the root setting on Nginx or the DocumentRoot setting on Apache. Run php artisan migrate to update the database. Done! You can now login using the default admin details admin@admin.com with a password of password. You should change these details immediately after logging in for the first time. ... Community docker setups are available for those that would prefer to use a containerised version of BookStack:
🌐
GitHub
github.com › solidnerd › docker-bookstack
GitHub - solidnerd/docker-bookstack: BookStack in a container · GitHub
-v <HOST>:/var/www/bookstack/public/uploads \ -v <HOST>:/var/www/bookstack/storage/uploads · After these steps you can visit http://localhost:8080. You can login with username admin@admin.com and password password. This is a fork of Kilhog/docker-bookstack.
Author: solidnerd
🌐
OneUptime
oneuptime.com › home › blog › how to run bookstack in docker for documentation
How to Run Bookstack in Docker for Documentation
February 8, 2026 - # docker-compose.yml - BookStack Documentation Platform version: "3.8" services: db: image: mariadb:11 container_name: bookstack-db restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: root_password_change_me MYSQL_DATABASE: bookstack MYSQL_USER: bookstack MYSQL_PASSWORD: db_password_change_me volumes: # Persist database files - ./db:/var/lib/mysql networks: - bookstack-net bookstack: image: lscr.io/linuxserver/bookstack:latest container_name: bookstack restart: unless-stopped depends_on: - db ports: # Web interface - "6875:80" environment: # Application URL (change to your domain for pro
🌐
Deployn
deployn.de › blog › homeserver › set up bookstack as an open source knowledge base with docker
Set Up Bookstack as an Open Source Knowledge Base with Docker
November 1, 2025 - Install Bookstack, a powerful open-source knowledge base, on your own server with Docker and Docker Compose. Step-by-step guide for easy self-hosted setup.
Find elsewhere
🌐
Geek Cookbook
geek-cookbook.funkypenguin.co.nz › recipes › bookstack
How to run BookStack in Docker |・∀・
Launch the BookStack stack by running docker stack deploy bookstack -c <path -to-docker-compose.yml>
🌐
Codeopolis
codeopolis.com › posts › how-to-install-bookstack-using-docker
How to Install Bookstack using Docker - Codeopolis
October 20, 2021 - If you prefer to use a docker-compose to manage the applications on your Docker host, you can use copy and paste the following code in your docker-compose.yml file. --- version: "2" services: bookstack: image: lscr.io/linuxserver/bookstack container_name: bookstack environment: - PUID=1000 - PGID=1000 - APP_URL=yourappurl - DB_HOST=bookstack_db - DB_USER=bookstack - DB_PASS=yourdbpass - DB_DATABASE=bookstackapp volumes: - bookstack:/config ports: - 6875:80 restart: unless-stopped depends_on: - bookstack_db bookstack_db: image: lscr.io/linuxserver/mariadb container_name: bookstack_db environment: - PUID=1000 - PGID=1000 - MYSQL_ROOT_PASSWORD=yourdbrootpass - TZ=Europe/London - MYSQL_DATABASE=bookstackapp - MYSQL_USER=bookstack - MYSQL_PASSWORD=yourdbpass volumes: - bookstackdb:/config restart: unless-stopped
🌐
OmicX
omicx.cc › posts › 2023-12-25-install-bookstack-by-docker
Install BookStack by Docker - OmicX
December 25, 2023 - --- version: "2" services: bookstack: image: lscr.io/linuxserver/bookstack container_name: bookstack environment: - PUID=2001 - PGID=2001 - APP_URL=http://192.168.1.100:6875 - DB_HOST=bookstack_db - DB_PORT=3306 - DB_USER=bookstack - DB_PASS=<passwd> - DB_DATABASE=bookstackapp volumes: - ./bookstack_app_data:/config ports: - 6875:80 restart: unless-stopped depends_on: - bookstack_db bookstack_db: image: lscr.io/linuxserver/mariadb container_name: bookstack_db environment: - PUID=2001 - PGID=2001 - MYSQL_ROOT_PASSWORD=<db_root_passwd> - TZ=Europe/London - MYSQL_DATABASE=bookstackapp - MYSQL_USER=bookstack - MYSQL_PASSWORD=<passwd> volumes: - ./bookstack_db_data:/config restart: unless-stopped ... Remember to replace <passwd> and <db_root_passwd> with your own password string. ... Please read the linuxserver docker-bookstack document for more configuration parameters.
🌐
Docker Hub
hub.docker.com › r › solidnerd › bookstack
solidnerd/bookstack - Docker Image
-v <HOST>:/var/www/bookstack/public/uploads \ -v <HOST>:/var/www/bookstack/storage/uploads Copy · After these steps you can visit http://localhost:8080⁠. You can login with username [email protected] and password password. This is a fork of Kilhog/docker-bookstack⁠. Kilhog did the intial work, but I want to go in a different direction.
🌐
Framework Repositories
frameworks.readthedocs.io › en › latest › framework › api › bookstackDocker.html
BookStack Docker — Framework Repositories 1.0 documentation
docker run -d \ --name=bookstack \ -e APP_URL= \ -e DB_HOST=<yourdbhost> \ -e DB_USER=<yourdbuser> \ -e DB_PASS=<yourdbpass> \ -e DB_DATABASE=bookstackapp \ -p 6875:80 \ -v /path/to/data:/config \ --restart unless-stopped \ lscr.io/linuxserver/bookstack
🌐
Substack
thedigitalden.substack.com › the digital den › step-by-step guide to self-hosting bookstack on your home server
Step-by-Step Guide to Self-Hosting BookStack on Your Home Server
May 16, 2023 - Overall, the architecture of BookStack is designed to be scalable, reliable, and easy to use, making it a popular choice for organizations that need to manage and share information. Final Docker Compose file with BookStack and MySQL is as below.
🌐
Reddit
reddit.com › r/selfhosted › anybody has a bookstack docker-compose file i can use to self host?
r/selfhosted on Reddit: Anybody has a bookstack docker-compose file I can use to self host?
October 21, 2023 -

Can anyone share their bookstack docker-compose app with me?

I am trying to host it and the sample docker-compose file herehttps://github.com/linuxserver/docker-bookstack/pkgs/container/bookstack#usage

does not work for me. Getting error when db migration is applied.

I am testing this on my windows machine locally but intend to host in a linux machine.

docker-compose file. https://pastebin.com/AVLrG4Ea

UPDATE:
Thanks everyone for help. I was able to resolve this issue.
Looks like the problem is with windows directory mapping. see comment from u/ssddanbrown below
https://github.com/linuxserver/docker-bookstack/issues/125

Current docker compose file working in ubuntu
https://pastebin.com/8fcPKeTQ

🌐
TechFuel HQ
techfuelhq.com › home › tutorials › bookstack self-hosted on docker: wiki setup (2026)
BookStack Self-Hosted on Docker: Wiki Setup (2026)
July 25, 2026 - Complete BookStack Docker setup: install with MySQL, configure Nginx Proxy Manager HTTPS, build your first wiki, and migrate from Notion or Confluence free.
🌐
Marius Hosting
mariushosting.com › how-to-install-bookstack-on-your-synology-nas
How to Install BookStack on Your Synology NAS – Marius Hosting
Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it bookstack. Follow the instructions in the image below.
🌐
Programster
blog.programster.org › deploy-bookstack
Deploy Bookstack | Programster's Blog
January 22, 2025 - APP_URL="https://bookstack.mydomain.com" # Specify a random key for Bookstack (Laravel) to use. # generate with: # echo "base64:$(openssl rand -base64 32)" APP_KEY="" # Specify the versions BOOKSTACK_VERSION="24.12.1" MARIADB_VERSION="10.11-jammy" We told the container to run as user and group 2001 in the docker-compose.yml file.
🌐
GitHub
github.com › linuxserver › docker-bookstack › blob › master › README.md
docker-bookstack/README.md at master · linuxserver/docker-bookstack
A Docker container for the BookStack documentation wiki - docker-bookstack/README.md at master · linuxserver/docker-bookstack
Author: linuxserver
🌐
SmartHomePursuits
smarthomepursuits.com › deploy-bookstack-docker-compose
How to Deploy Bookstack in Docker-Compose using Portainer
To install Docker-Compose and Portainer, follow this guide. Once both are installed, you can continue to the next step. After logging into Portainer, choose the Local tab and then select Stacks. Give your container a name like bookstack.