Skip to content

L21s/liberty-flyway-docker

liberty-flyway-docker

A (relatively opinionated) docker container running a Websphere Liberty Profile Server (esentially copied from websphere-liberty on dockerhub) and Flyway.

Usage

Prepare your container

For usage, you will most likely want to create your own dockerfile based on larscheidschmitzhermes/liberty-flyway-docker. For deploying your Java Application to liberty, just refer to the websphere-liberty documentation on dockerhub. Make sure to add your desired flyway migrations to the directory db/migration in the container:

FROM larscheidschmitzhermes/liberty-flyway-docker
ADD your/migrations db/migration

Run your container

During container startup, flyway will run your migrations. After that, liberty is started. To connect flyway to the right database, the following environment variables are used and need to be set when the container is run:

- DATABASE_HOST
- DATABASE_PORT
- DATABASE_NAME
- DATABASE_USER
- DATABASE_PASSWORD

About

No description, website, or topics provided.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.md
Apache-2.0
FLYWAY_LICENSE.md
Apache-2.0
LIBERTY_LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published