Sign inSign up

hubbitus/flyway-clickhouse

By hubbitus

•Updated over 3 years ago

Flyway container with Clickhouse support + https://github.com/flyway/flyway/pull/3611

Image
1

3.2K

hubbitus/flyway-clickhouse repository overview

⁠Flyway container image with Clickhouse support

Unfortunately there are several pull requests⁠ to bring into flyway⁠ support of Clickhouse⁠, but most of them stalled, unfortunately.

This repository contains attempt to build it with latest PR#3611⁠.

⁠Automated builds

Source code in repository https://github.com/Hubbitus/flyway-clickhouse.container⁠

⁠Example of run

Said you placed your migrations in directory clickhouse/migrations, and config file in conf/flyway.conf then you may run it like:

podman run --rm -it --name flyway \
    -v ./clickhouse/migrations:/flyway/sql:z 
    -v ./conf:/flyway/conf:ro,z \
    --network=host \
        docker.io/hubbitus/flyway-clickhouse:master \
            -user=default -password='' -url=jdbc:clickhouse://[email protected]:8123/datamart migrate

Off course, you may omit name, network mode or run it in Kubernetes, as you wish.

Tag summary

Content type

Image

Digest

sha256:4cb98eaed…

Size

220.1 MB

Last updated

over 3 years ago

docker pull hubbitus/flyway-clickhouse