Bookstack
Bookstack is a free and open source Wiki designed for creating beautiful documentation. Feautring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.
linux
Sourced
Repo
Env Vars
PUID=1000
PGID=100
TZ=''
DATABASE_PASSWORD=''
MYSQL_ROOT_PASSWORD=''
PORT=''
Services
bookstack
linuxserver/bookstack
Ports
${PORT}:80
/config : /portainer/Files/AppData/Bookstack/Data
unless-stopped
Env Vars
PUID=${PUID}
PGID=${PGID}
DB_HOST=bookstack_db
DB_USER=bookstack
DB_PASS=${DATABASE_PASSWORD}
DB_DATABASE=bookstackapp
bookstack_db
linuxserver/mariadb
Volumes
/config : /portainer/Files/AppData/Bookstack/DB
unless-stopped
Env Vars
PUID=${PUID}
PGID=${PGID}
MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
TZ=${TZ}
MYSQL_DATABASE=bookstackapp
MYSQL_USER=bookstack
MYSQL_PASSWORD=${DATABASE_PASSWORD}
Installation
Via Portainer
- Ensure both Docker and Portainer are installed, and up-to-date
- Log into your Portainer web UI
- Under Settings → App Templates, paste the below URL
- Head to Home → App Templates, and the list of apps will show up
- Select the app you wish to deploy, fill in any config options, and hit Deploy
Template Import URL
https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me
Via Docker Run
Service #1 - bookstack
docker run --name bookstack -d \
-e "${PUID}" \
-e "${PGID}" \
-e "bookstack_db" \
-e "bookstack" \
-e "${DATABASE_PASSWORD}" \
-e "bookstackapp" \
-p ${PORT}:80 \
-v /portainer/Files/AppData/Bookstack/Data:/config \
--restart=unless-stopped \
linuxserver/bookstack
Service #2 - bookstack_db
docker run --name bookstack_db -d \
-e "${PUID}" \
-e "${PGID}" \
-e "${MYSQL_ROOT_PASSWORD}" \
-e "${TZ}" \
-e "bookstackapp" \
-e "bookstack" \
-e "${DATABASE_PASSWORD}" \
-v /portainer/Files/AppData/Bookstack/DB:/config \
--restart=unless-stopped \
linuxserver/mariadb
Via Docker Compose
Save this file as docker-compose.yml
and run docker-compose up -d
Use this only as a guide.
- name: bookstack
image: linuxserver/bookstack
ports:
- ${PORT}:80
volumes:
- bind: /portainer/Files/AppData/Bookstack/Data
container: /config
restart_policy: unless-stopped
env:
- name: PUID
value: ${PUID}
- name: PGID
value: ${PGID}
- name: DB_HOST
value: bookstack_db
- name: DB_USER
value: bookstack
- name: DB_PASS
value: ${DATABASE_PASSWORD}
- name: DB_DATABASE
value: bookstackapp
- name: bookstack_db
image: linuxserver/mariadb
volumes:
- bind: /portainer/Files/AppData/Bookstack/DB
container: /config
restart_policy: unless-stopped
env:
- name: PUID
value: ${PUID}
- name: PGID
value: ${PGID}
- name: MYSQL_ROOT_PASSWORD
value: ${MYSQL_ROOT_PASSWORD}
- name: TZ
value: ${TZ}
- name: MYSQL_DATABASE
value: bookstackapp
- name: MYSQL_USER
value: bookstack
- name: MYSQL_PASSWORD
value: ${DATABASE_PASSWORD}
Alternative Methods
For more installation options, see the Documentation in the GitHub repo
Container Documentation
bookstack Documentation
bookstack_db Documentation
A Mariadb container, brought to you by LinuxServer.io.