-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Docs for Liquibase Official Image #1803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
efe39f5
0ec838c
0651860
d46a831
ddc68a3
3deb131
f3cc0c0
cfd8a61
1027f7b
c8c13ea
80b59f0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Liquibase is DevOps for your database. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # What is Liquibase? | ||
|
|
||
| Liquibase is DevOps for your database. More information about Liquibase can be found at [http://www.liquibase.org](http://www.liquibase.org). | ||
|
|
||
| Liquibase compares the contents of a Change Log to the database to determine which, if any, changes need to be applied to the database. For example, you can create tables, add columns, and many more with Liquibase. Liquibase is delivered via a Docker container to assist users that are leveraging Docker for their CI/CD solution. | ||
|
|
||
| %%LOGO%% | ||
|
|
||
| # How to use this image | ||
|
|
||
| If you are executing Liquibase via the command line today, you are probably doing it like so: | ||
|
|
||
| ```console | ||
| $ liquibase update --driver=org.postgresql.Driver --url=”jdbc:postgresql://<DATABASE_IP>:<DATABASE_PORT>/<DATABASE>” --changeLogFile=/liquibase/changelog/changelog.xml --username=<USERNAME> --password=<PASSWORD> | ||
| ``` | ||
|
|
||
| The only change to use this docker image, is to use `docker run ...` and mount the folder containing your changelog.xml (or .yml or .json or .sql) to `/liquibase/changelog` in the Liquibase container | ||
|
|
||
| ```console | ||
| $ docker run -v /home/user/changelog:/liquibase/changelog liquibase --driver=org.postgresql.Driver --url=”jdbc:postgresql://<DATABASE_IP>:<DATABASE_PORT>/<DATABASE>” --changeLogFile=/liquibase/changelog/changelog.xml --username=<USERNAME> --password=<PASSWORD> | ||
|
jandroav marked this conversation as resolved.
Outdated
|
||
| ``` | ||
|
|
||
| All Liquibase commands, such as `rollback`, `updateSQL`, and others, are available, as well. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| https://github.com/liquibase/docker | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the file that's missing a newline at EOF 👀
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| View [license information](https://github.com/liquibase/liquibase/blob/master/LICENSE.txt) for the Liquibase software contained in this image. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../.common-templates/maintainer-community.md | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't seem right -- this will give you a generic value of "the Docker Community" where I think it's much more appropriate if this is Liquibase (since the image is upstream-maintained), maybe something like this: [Liquibase](%%GITHUB-REPO%%)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree |
||

Uh oh!
There was an error while loading. Please reload this page.