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

25 lines
1.6 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` \
2023-02-26 14:51:38 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
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` \
2022-12-23 00:53:26 +00:00
-e DB_PORT=<yourdbport> `# for specifying the database port if not default 3306` \
2021-04-10 10:16:29 +00:00
-e DB_USER=<yourdbuser> `# for specifying the database user` \
2022-12-23 00:53:26 +00:00
-e DB_PASS=<yourdbpass> `# for specifying the database password (non-alphanumeric passwords must be properly escaped.)` \
-e DB_DATABASE=bookstackapp `# for specifying the database to be used` \
2021-04-10 10:16:29 +00:00
-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