Sign inSign up

reddexx/bookstack

By reddexx

•Updated about 4 years ago

This is a fork of Solidnerd did the intial work

Image
0

1.0K

reddexx/bookstack repository overview

⁠Docker Image For BookStack⁠

⁠Current Bookstack Version: 22.02.3

PHP8.0
composer-Version 2.1.12

⁠How to use the Image without Docker compose

Note that if you want to use LDAP, $ has to be escape like \$, i.e. -e "LDAP_USER_FILTER"="(&(uid=\${user}))"

Networking changed in Docker v1.9, so you need to do one of the following steps.

⁠Docker < v1.9
  1. MySQL Container:
docker run -d \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=secret \
-e MYSQL_DATABASE=bookstack \
-e MYSQL_USER=bookstack \
-e MYSQL_PASSWORD=secret \
--name bookstack_db \
mysql:5.7.21
⁠Docker 1.9+
  1. Create a shared network:
docker network create bookstack_nw
  1. Run MySQL container :
docker run -d --net bookstack_nw  \
-e MYSQL_ROOT_PASSWORD=secret \
-e MYSQL_DATABASE=bookstack \
-e MYSQL_USER=bookstack \
-e MYSQL_PASSWORD=secret \
 --name="bookstack_db" \
 mysql:5.7.21
⁠Volumes

To access your .env file and important bookstack folders on your host system change <HOST> in the following line to your host directory and add it then to your run command:

--mount type=bind,source=<HOST>/.env,target=/var/www/bookstack/.env \
-v <HOST>:/var/www/bookstack/public/uploads \
-v <HOST>:/var/www/bookstack/storage/uploads

In case of a windows host machine the .env file has to be already created in the host directory otherwise a folder named .env will be created.

After these steps you can visit http://localhost:8080⁠ . You can login with username '[email protected]⁠' and password 'password'.

⁠Inspiration

This is a fork of Kilhog and Solidnerd did the intial work, but I want to go in a different direction.

Tag summary

Content type

Image

Digest

sha256:ba418f5d6…

Size

6.3 MB

Last updated

about 4 years ago

docker pull reddexx/bookstack