Liquibase in Docker container kimi istifade edilmesi

docker run --rm --network my-test-net -v D:\Workspace\my-app\migration-service\src\main\resources\:/liquibase/changelog liquibase/liquibase --defaultsFile=/liquibase/changelog/liquibase.properties generateChangeLog

url: jdbc:postgresql://a54427d8649e/my_db
username: postgres
password: hamid318
changeLogFile: /liquibase/changelog/mytestv3.yaml

Eger evvelceden yaradilmis db container varsa, docker de network yaradib hemin containeri i yaradilan network a elave etmek lazimdir.

liquibase i run ederken hemin networka elave edirik

docker run --rm --network my-test-net -v D:\Workspace\my-app\migration-service\src\main\resources\:/liquibase/changelog liquibase/liquibase --defaultsFile=/liquibase/changelog/liquibase.properties generateChangeLog

--includeObjects="users"

Comments

Popular posts from this blog

Validation for AZ phone numbers with RegEx in Java

Java necə işləyir, kod nədir ?