GithubHelp home page GithubHelp logo

berancad / liquibase-ch-cluster Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 4.4 MB

Docker-compose for testing liquibase migrations and clickhouse cluster (1 shard with 2 replicas)

clickhouse liquibase migrations database databases docker docker-compose migration

liquibase-ch-cluster's Introduction

liquibase-ch-cluster

Docker-compose for testing liquibase migrations and clickhouse cluster (1 shard with 2 replicas)

settings

  • clickhouse/ch01 - for first replica
  • clickhouse/ch02 - for second replica
  • liquibase/my_changelog - for liquibase
    • changelog.xml - add load migrations from folder
    • liquibase.properties - connection to clickhouse for liquibase
  • liquibase/lib - jar and configuration file from https://github.com/MEDIARITHMICS/liquibase-clickhouse
  • migrations - sql scripts for migration

workflow

For run please docker-compose up -d from folder with repository files.

For end please docker-compose down

For liquibase command from CLI please use this sample docker run --rm -v .\liquibase\my_changelog:/liquibase/my_changelog -v .\liquibase\lib\clickhouse.jar:/liquibase/lib/clickhouse.jar -v .\liquibase\lib\liquibaseClickhouse.conf:/liquibase/lib/liquibaseClickhouse.conf -v .\migrations:/liquibase/scripts --network=liquibase-ch-cluster_default liquibase/liquibase --defaultsFile=/liquibase/my_changelog/liquibase.properties --changeLogFile=/my_changelog/changelog.xml --logLevel=debug history

liquibase-ch-cluster's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.