Portainer Templates

Bookstack

Notesserver

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.

Type Kubernetes Platform linux Sourced Repo Env Vars

PUID=1000PGID=100TZ=''DATABASE_PASSWORD=''MYSQL_ROOT_PASSWORD=''PORT=''

Services

bookstack

Image linuxserver/bookstack Ports

${PORT}:80

Volumes

/config : /portainer/Files/AppData/Bookstack/Data

Restart Policy unless-stopped Env Vars

PUID=${PUID}PGID=${PGID}DB_HOST=bookstack_dbDB_USER=bookstackDB_PASS=${DATABASE_PASSWORD}DB_DATABASE=bookstackapp

Pulls: 71.2M
Stars: 329
User: linuxserver
Created: Aug 20, 2018
Updated: 21 hours ago
Status: active

bookstack_db

Image linuxserver/mariadb Volumes

/config : /portainer/Files/AppData/Bookstack/DB

Restart Policy unless-stopped Env Vars

PUID=${PUID}PGID=${PGID}MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}TZ=${TZ}MYSQL_DATABASE=bookstackappMYSQL_USER=bookstackMYSQL_PASSWORD=${DATABASE_PASSWORD}

Pulls: 407.9M
Stars: 397
User: linuxserver
Created: Oct 13, 2015
Updated: 18 days ago
Status: active

Installation

Via Portainer

  1. Ensure both Docker and Portainer are installed, and up-to-date
  2. Log into your Portainer web UI
  3. Under Settings → App Templates, paste the below URL
  4. Head to Home → App Templates, and the list of apps will show up
  5. 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 demo

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.