Files
2024-05-04 14:06:40 +02:00
..
2024-05-04 14:06:40 +02:00
2024-05-04 14:06:40 +02:00
2024-05-04 14:06:40 +02:00

BookStack

BookStack is a simple, self-hosted, easy-to-use platform for organising and storing information.

Installation using Portainer

Tested with

  • Synology DS1019+ running DSM 7.2.1-69057 Update 3;
  • Container Manager from Synology Package Center version 20.10.23-1437;
  • Portainer.io Community Edition version 2.19.5;
  • BookStack 24.02.3.

Create the following folders

  • docker/bookstack/BookStack/config
  • docker/bookstack/BookStack-MariaDB/var/lib/mysql

Installation steps

  • Open Portainer with the correct environment.
  • Under Stacks click the button + Add stack.
  • Give your stack a name (i.e.: bookstack).
  • Paste the contents of compose.yml under Web editor.
  • Paste the contents of .env.sample under Environment variables.
    • Click Advanced mode to be able to paste.
  • Change the environment variables as you see fit.
  • Click Deploy the stack and wait for Portainer to finish.

Environment variables

The following variables could be set as an environment varaiables using the .env file.

Value Default Information
RESTART unless-stopped Choose a restart policy.
SYNOLOGY_VOLUME volume1 If you have only 1 volume Docker will be installed on volume 1.
STACK_NAME bookstack The name of your project/stack and also the base folder within your docker folder.
UID 1024 The user id you want to use.
GID 101 The group id you want to use.
TZ Europe/Amsterdam
BOOKSTACK_CONTAINER_NAME BookStack This is used for the name of the container and the main folder under de docker folder.
BOOKSTACK_TAG latest Choose a version tag.
BOOKSTACK_PORT 80 Default port.
BOOKSTACK_APP_URL https://bookstack.example.com
BOOKSTACK_MARIADB_CONTAINER_NAME BookStack-MariaDB This is used for the name of the container and the main folder under de docker folder.
BOOKSTACK_MARIADB_TAG latest Choose a version tag.
BOOKSTACK_MARIADB_TCP_PORT 3306
BOOKSTACK_MARIADB_DATABASE bookstack
BOOKSTACK_MARIADB_USER bookstack
BOOKSTACK_MARIADB_PASSWORD bookstack
BOOKSTACK_MARIADB_ROOT_PASSWORD bookstack