rangemasterd/liquicloud

By rangemasterd

Updated 10 months ago

Liquibase with extension to retrieve the database coordinates from cloud provider's secret manager

Image
Databases & Storage
Integration & Delivery
Developer Tools
0

11

Quick reference

What is Liquicloud?

Liquicloud is an extended version of Liquibase that add a cloud provider's secret manager client to retrieve the database coordinates from.

More information about Liquibase can be found at https://hub.docker.com/_/liquibase

How to use this image

docker run --name some-liquicloud -e SECRET_URL_PATH=secreturlpath -e SECRET_USERNAME_PATH=secretusernamepath -e SECRET_PASSWORD_PATH=secretpasswordpath -d liquicloud

Image Variants

The liquicloud images come in many flavors, each designed for a specific cloud provider. Before applying the changes, the image tries to retrieve the database coordinates from the cloud provider and set those values to the liquibase commands.

liquicloud:<version>-gcp

This image integrates the Google Cloud Secret Manager client.

Environment Variables

The liquicloud image uses the environment variables to set up the secret's paths.

SECRET_URL_PATH

This environment variable is required to use the liquicloud image. It must not be empty or undefined. This environment variable set the path where the database url secret is located to be retrieved.

SECRET_USERNAME_PATH

This environment variable is required to use the liquicloud image. It must not be empty or undefined. This environment variable set the path where the databse userame secret is located to be retrieved.

SECRET_PASSWORD_PATH

This environment variable is required to use the liquicloud image. It must not be empty or undefined. This environment variable set the path where the databse password secret is located to be retrieved.

DB_CHANGELOG_FILE

This optional environment variable can be used to define a specific changelog file. If it is not specified, then the value master.xml is used.

Docker Pull Command

docker pull rangemasterd/liquicloud