How to Deploy BookStack Wiki App

https://www.bookstackapp.com/

docker run -d --net bookstack_nw  \
-e MYSQL_ROOT_PASSWORD=secret \
-e MYSQL_DATABASE=bookstack \
-e MYSQL_USER=bookstack \
-e MYSQL_PASSWORD=B00kStack \
-v bookstack-mysql:/var/lib/mysql \
--name="bookstack_db" \
 mysql:5.7.21

docker run -d --net bookstack_nw  \
-e DB_HOST=bookstack_db:3306 \
-e DB_DATABASE=bookstack \
-e DB_USERNAME=bookstack \
-e DB_PASSWORD=B00kStack \
-v bookstack-uploads:/var/www/bookstack/public/uploads \
-v bookstack-storage:/var/www/bookstack/public/storage \
--name="bookstack" \
solidnerd/bookstack:0.21.0

docker run -d --net bookstack_nw \
-v ~/nginx:/etc/nginx/conf.d/ \
-p 80:80 -p 443:443 \
--name=nginx \
nginx

References

No Comments

Back to top