docker-bits/lsio/bookstack/docker-run.sh

23 lines
1.3 KiB
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Bookstack](https://github.com/BookStackApp/BookStack) is a free and open
2021-07-31 00:47:03 +00:00
# source Wiki designed for creating beautiful documentation. Featuring a simple,
2021-04-21 00:55:42 +00:00
# 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
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=bookstack \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2021-04-10 10:16:29 +00:00
-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