Sign inSign up

nubsi/bookstack

By nubsi

•Updated 10 months ago

Image
0

192

nubsi/bookstack repository overview

This is a simple container for BookStack⁠. Not intended for production use.

⁠How to use the image

The example values for the environment variables can be changed as needed. The network only needs to be created once.

docker network create bookstack_net
docker run --name db \
    -p 3306:3306 \
    -e MARIADB_ROOT_PASSWORD=example \
    -e MARIADB_DATABASE=bookstack \
    -e MARIADB_USER=bookstack-user \
    -e MARIADB_PASSWORD=example \
    -v ./database:/var/lib/mysql:Z \
    --network bookstack_net \
    -d \
    --rm \
    mariadb:latest
docker run \
    -p 80:80 \
    -e DB_HOST=db \
    -e DB_DATABASE=bookstack \
    -e DB_USERNAME=bookstack-user \
    -e DB_PASSWORD=example \
    -e APP_KEY=base64:dUvWVLuxhsvWR3p4Z3EOxrnYFPSMWfqfuHsdBpqSOCM= \
    --network bookstack_net \
    -d \
    --rm \
    nubsi/bookstack:latest

A new APP_KEY can be generated with the following command.

docker run --rm --entrypoint bash nubsi/bookstack -c "php artisan key:generate --show"

Open the application with http://localhost and log in with the username [email protected] and the password password.

Tag summary

Content type

Image

Digest

sha256:8c45fc69f…

Size

138.6 MB

Last updated

10 months ago

docker pull nubsi/bookstack