Sign inSign up

webspellchecker/db-manager

By webspellchecker

•Updated 9 days ago

Provisions and migrates the MySQL database used by WProofreader Server and Admin-panel

Image
Integration & delivery
0

904

webspellchecker/db-manager repository overview

⁠WebSpellChecker / db-manager

Docker image with db-manager, the tool that creates and migrates the cloud_service MySQL database used by WProofreader Server and Admin-panel. It wraps Liquibase Community Edition in a small CLI and is meant to run once, before the application containers start: as a one-shot Compose service, a Kubernetes Job or an init container. Re-running it is safe, changesets that are already applied are skipped.

⁠Tags

Images are tagged with the WProofreader Server version they belong to, for example 6.17.1.0. latest points to the newest release. Use the same version as your webspellchecker/wproofreader image, since each release carries the schema changes for that version. Images are built for linux/amd64 and linux/arm64.

⁠Get started

On Kubernetes, the WProofreader⁠ and Admin-panel⁠ Helm charts run db-manager for you.

To run it on its own against an existing MySQL server:

docker run --rm --network <mysql_network> \
  -e DB_HOST=mysql \
  -e DB_USER=root \
  -e DB_PASSWORD=<root password> \
  -e PROVISION_PREDEFINED_USERS=true \
  -e APPSERVER_PASSWORD=<password for the appserver user> \
  -e ADMIN_PANEL_PASSWORD=<password for the Admin-panel user> \
  webspellchecker/db-manager:6.18.1.0 migrate

This creates the cloud_service database, applies the schema and seed data, and creates the two application users with the grants they need. status shows applied and pending changesets; db-manager --help lists the other commands (rollback, backup, health-check, users).

⁠Configuration

VariableDefaultDescription
DB_HOSTlocalhostMySQL host
DB_PORT3306MySQL port
DB_NAMEcloud_serviceDatabase to create and migrate
DB_USERrootAccount that can create the database and users
DB_PASSWORDPassword for DB_USER
DB_CONTEXTSexternal,seedMigration contexts to apply
MIGRATION_MODEbootstrapbootstrap, adopt or schema-only
CREATE_BACKUPfalseDump the database before migrating (mount /backups to keep it)
AUTO_ROLLBACK_ON_FAILUREfalseRestore that dump if the migration fails
PROVISION_PREDEFINED_USERSfalseCreate the appserver and app_manager users, or set their passwords
APPSERVER_USERNAME, APPSERVER_PASSWORDappserver, noneCredentials for WProofreader Server
ADMIN_PANEL_USERNAME, ADMIN_PANEL_PASSWORDapp_manager, noneCredentials for Admin-panel
DB_MAX_RETRIES, DB_RETRY_INTERVAL30, 2How long to wait for MySQL: connection attempts and seconds between them
LOG_LEVELINFOERROR, WARN, INFO, DEBUG or TRACE

ADMIN_PANEL_USERNAME and ADMIN_PANEL_PASSWORD need db-manager 6.18.1.0 or later. If you pulled 6.18.1.0 before 2026-10-15, pull it again. Earlier versions use APP_MANAGER_USERNAME and APP_MANAGER_PASSWORD. db-manager still reads the old names when the new names are not set, but the old names are deprecated.

⁠Resources

⁠Technical support or questions

Holders of a trial or commercial license have access to technical assistance from the WebSpellChecker team. Contact us here⁠.

⁠License

db-manager is part of WProofreader Server, commercial software developed by WebSpellChecker (https://webspellchecker.com/⁠).

Tag summary

Content type

Image

Digest

sha256:f352fc3cc…

Size

97.4 MB

Last updated

9 days ago

docker pull webspellchecker/db-manager