This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
spadinastan/services/bookstack
2024-02-05 00:23:09 -05:00
..
build.sh feat(scripts): replace docker calls with equivalent podman calls in services 2024-02-03 13:26:05 -05:00
constants.sh feat(services): bookstack (#33) 2023-12-15 12:40:14 -05:00
Dockerfile-bookstack-app feat(services): bookstack (#33) 2023-12-15 12:40:14 -05:00
Dockerfile-bookstack-db feat(services): bookstack (#33) 2023-12-15 12:40:14 -05:00
README.md feat(services): bookstack (#33) 2023-12-15 12:40:14 -05:00
start.sh feat(pod): link all services under a single pod 2024-02-05 00:23:09 -05:00
stop.sh feat(scripts): replace docker calls with equivalent podman calls in services 2024-02-03 13:26:05 -05:00

Bookstack

Sets up and manages a Bookstack instance.

Getting started

  • start.sh starts the database and application.
  • stop.sh stops the database and application.
  • build.sh builds images for the database and application and should be run before starting anything.

Any commitable constant can be defined in constants.sh and will be injected in all of the scripts above.

The task commands should be used to interact with the service.

Volumes

This expects two volumes to exist at $APP_DATA_DIR: bookstack-app and bookstack-db.

Note on dotenv files

dotenv files are expected to exist at $ENV_FILE_DIR under bookstack-db.env and bookstack-app.env.

See reference:

# bookstack-db-env

MARIADB_USER=...
MARIADB_PASSWORD=...
MARIADB_ROOT_PASSWORD=...
MARIADB_DATABASE=...
# bookstack-app.env

DB_PORT=...
DB_USER=...
DB_PASS=...
DB_DATABASE=...
DB_HOST=...
APP_URL=...