Sign inSign up

mobtitude/liquibase

By mobtitude

Updated over 7 years ago

Slim docker image for Liquibase - source control for your database.

Image
2

377

mobtitude/liquibase repository overview

mobtitude/liquibase

The Liquibase docker image, based on java:jre-alpine with mysql driver.

This image is inspired by webdevops/liquibase, but it's smaller and easier to maintain.

Usage

Expecting the changelog.xml is inside the current directory the update process can be started with:

docker run --rm \
    -v "$(pwd)":/liquibase/ \
    -e LIQUIBASE_URL=jdbc:mysql://host/app \
    -e LIQUIBASE_USERNAME=root \
    -e LIQUIBASE_PASSWORD=root \
    mobtitude/liquibase update

Environment variables

Environment variableDescriptionDefault
LIQUIBASE_VERSIONInstalled Liquibase versionnot changeable
LIQUIBASE_URLDB urlempty (eg. jdbc:mysql://host/app)
LIQUIBASE_USERNAMEDB usernameempty
LIQUIBASE_PASSWORDDB passwordempty
LIQUIBASE_CHANGELOGChangelog file/liquibase/changelog.xml
LIQUIBASE_CONTEXTSServer contextsempty
LIQUIBASE_OPTSAdditional optionsempty

Tag summary

Content type

Image

Digest

Size

45.1 MB

Last updated

over 7 years ago

docker pull mobtitude/liquibase