Docker image for the Bookstack application.
10K+
Docker configuration for the Bookstack application.
A working Docker installation is mandatory.
Please make sure to copy & rename the example.env file to .env.
cp example.env .env
You can replace the values if needed, but the default ones should work for local development.
Please also make sure to copy & rename the docker-compose.override.yml.dev file to docker-compose.override.yml.
cp docker-compose.override.yml.dev docker-compose.override.yml
You can replace the values if needed, but the default ones should work for local development.
Edit hosts file to point bookstack.lan to your docker host.
If you want to automatically import a bookstack database, you can add the dump file in the import folder, and rename it import.sql. The content will be imported the first time the mysql-data volume is created.
Build & run all the containers for this project.
docker compose up (add -d if you want to run in the background and silence the logs)
To access the main application please use the following link.
To access mails please use the following link.
Or to get the messages in JSON format.
http://bookstack.lan:8026/api/v2/messages
Copy and rename the environment file.
cp example.env .env
You should replace the values since the default ones are not ready for production.
Please also make sure to copy & rename the docker-compose.override.yml.prod file to docker-compose.override.yml.
cp docker-compose.override.yml.prod docker-compose.override.yml
You can replace the values if needed, but the default ones should work for production.
Build & run all the containers for this project:
docker compose up -d
Use a reverse proxy configuration to map the url to port 8282.
We trigger a GitHub Actions workflow to build the custom image and push it to our Docker Hub repository.
When a new Bookstack version is available, you should update the value in the VERSION file to reference the new tag. When the change is pushed to the repository, the workflow will automatically build the new image and push it to Docker Hub.
If you need to trigger a rebuild or mark a custom image version, you can add a revision suffix (such as -rev1) to the value in the VERSION file. This suffix will be ignored when fetching the BookStack source code, but it allows you to distinguish builds in your workflow and Docker image tags.
GitHub Actions workflows generate Docker image tags based on these events:
development: stage-latest, stage-<sha>-<timestamp> (immutable)main: latestvX.Y.Z (immutable, from VERSION)Weekly cron jobs:
stage-<sha>-<timestamp> (immutable)vX.Y.Z-<sha>-<timestamp> (immutable, from VERSION)All the immutable tags are committed to the k8s repository.
The Helm charts for this project are available at https://github.com/unil-lettres/k8s, in the wlett directory.
Content type
Image
Digest
sha256:019760ce3…
Size
268.3 MB
Last updated
2 days ago
docker pull unillett/bookstack:v26.05.2-7106da3-20260719232359Pulls:
466
Jul 6 to Jul 12