Sign inSign up

fabiodcorreia/bookstack

By fabiodcorreia

•Updated about 6 years ago

A custom Bookstack image build with Alpine Linux and NGINX/PHP.

Image
1

872

fabiodcorreia/bookstack repository overview

⁠Docker Bookstack Image

Maintenance Drone Status Latest Release GitHub Licence

MicroBadger Layers Docker Image Size (latest by date) Docker Pulls Docker Image Version (latest semver)

A custom Bookstack image build with Alpine Linux and NGINX/PHP.

⁠Base Packages

  • memcached
  • ttf-freefont
  • wkhtmltopdf
  • php7-ctype
  • php7-curl
  • php-dom
  • php7-gd
  • php7-memcached
  • php7-mysqlnd
  • php7-pdo_mysql
  • php7-phar
  • php7-tidy
  • php7-tokenizer

⁠Versioning

This image follows the Semantic Versioning⁠ pattern.

  • MAJOR version - Changes on Base Image version (1.0.0 to 2.0.0)
  • MINOR version - Changes on Bookstack version (2.1.4 to 2.1.5)
  • PATCH version - Package updates and other non breaking changes on the image
  • DRAFT version - Unstable build for review (Optional)
⁠Version Mapping
Version1.01.12.0
Base Image1.x.x1.x.x2.x.x
bookstack0.29.20.29.30.29.2

When Base Image gets upgraded the major version is incremented, when Bookstack gets upgraded the minor version is incremented.

⁠Tags

TagDescription
latestLatest version
1.0.0Specific patch version
1.0Specific minor version
1Specific major version
1.0.0-archSpecific patch version to that arch
1.0-archSpecific minor version to that arch
1-archSpecific major version to that arch
testBranch version - DO NOT USE

The version tags are the same as the repository versioning tags but without the v. The test version is only for build purposes, it should not be pulled.

The arch can be one of the supported architectures described below.

⁠Supported Architectures

ArchitectureTag
x86-64amd64
arm64arm64v8
armhfarm32v7

⁠Environment Variables

NameDescription
PUIDSet the UserID - Details⁠
PGIDSet the GroupID - Details⁠
TZSet the system timezone - Options⁠
HTTP_TRACEEnable HTTP trace Log (default: false)
DEBUGEnable debug logs
DATABASE_HOSTSet the database hostname or ip address where the application will connect
DATABASE_NAMESet the database name that will be used by the application
DATABASE_USERSet the username for the database connection
DATABASE_PASSSet the password for the database username
DOMAIN_NAMESet the application domain name in case of reverse proxy
EMAIL_HOSTSet the SMTP server hostname
EMAIL_PORTSet the SMTP server port
EMAIL_USERSet the SMTP username
EMAIL_PASSSet the SMPT password
EMAIL_SECURESet the SMTP security protocol (TLS, SSL, STARTTLS)
EMAIL_FROMSet the SMTP email FROM
STORAGE_TYPESet storage system to use 'local', 'local_secure', 's3'
STORAGE_S3_KEYSet storage s3 key
STORAGE_S3_SECRETSet storage s3 secret
STORAGE_S3_BUCKETSet storage s3 bucket name
STORAGE_S3_ENDPOINTSet storage s3 endpoint for s3 compatibile services 'https://my-custom-s3-compatible.service.com⁠'
STORAGE_URLSet storate s3 URL format, if not set then S3 compatible URL will be generated

⁠Volumes and Ports

It exposes a single volume at /config where it keeps the configuration and other files related with the application.

Also a single port is exposed at 80 to allow external connections to the database.

⁠Start Container

docker run \
  -e PUID=1000 \
  -e PGID=1000 \
  -e DATABASE_HOST=mariadb_bookstack \
  -e DATABASE_NAME=bookstackdb \
  -e DATABASE_USER=bookstackuser \
  -e DATABASE_PASS=bookstackpass \
  -p 80:80 \
  -v $PWD:/config \
  fabiodcorreia/bookstack

Or use docker-compose, an example is provided on docker-compose.yml⁠

Tag summary

Content type

Image

Digest

Size

98.3 MB

Last updated

about 6 years ago

docker pull fabiodcorreia/bookstack