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
Post a Comment