docker-bits/lsio/bookstack/docker-run.sh
2022-04-02 00:45:58 +00:00

23 lines
1.3 KiB
Bash

# [Bookstack](https://github.com/BookStackApp/BookStack) is a free and open
# source Wiki designed for creating beautiful documentation. Featuring a simple,
# but powerful WYSIWYG editor it allows for teams to create detailed and useful
# documentation with ease. Powered by SQL and including a Markdown editor for
# those who prefer it, BookStack is geared towards making documentation more of
# a pleasure than a chore. For more information on BookStack visit their website
# and check it out: https://www.bookstackapp.com
source ./.env
docker run -d \
--name=bookstack \
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
-e APP_URL= `# for specifying the IP:port or URL your application will be accessed on (ie. `http://192.168.1.1:6875` or `https://bookstack.mydomain.com`` \
-e DB_HOST=<yourdbhost> `# for specifying the database host` \
-e DB_USER=<yourdbuser> `# for specifying the database user` \
-e DB_PASS=<yourdbpass> `# for specifying the database password` \
-e DB_DATABASE=bookstackapp `# for specifying the database to be used` \
-p 6875:80 `# will map the container's port 80 to port 6875 on the host` \
-v ${BASEDIR:-/volume1/docker}/bookstack/config:/config `# this will store any uploaded data on the docker host` \
--restart unless-stopped \
ghcr.io/linuxserver/bookstack