Flyway container with Clickhouse support + https://github.com/flyway/flyway/pull/3611
3.2K
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.
Source code in repository https://github.com/Hubbitus/flyway-clickhouse.container
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.
Content type
Image
Digest
sha256:4cb98eaed…
Size
220.1 MB
Last updated
over 3 years ago
docker pull hubbitus/flyway-clickhouse