Skip to content
1 change: 1 addition & 0 deletions liquibase/README-short.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Liquibase is DevOps for your database.
23 changes: 23 additions & 0 deletions liquibase/content.md
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>
Comment thread
jandroav marked this conversation as resolved.
Outdated
```

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>
Comment thread
jandroav marked this conversation as resolved.
Outdated
```

All Liquibase commands, such as `rollback`, `updateSQL`, and others, are available, as well.
1 change: 1 addition & 0 deletions liquibase/github-repo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/liquibase/docker

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the file that's missing a newline at EOF 👀

@jandroav jandroav Apr 9, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed
image

1 change: 1 addition & 0 deletions liquibase/license.md
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.
Binary file added liquibase/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions liquibase/maintainer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../.common-templates/maintainer-community.md

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The 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%%)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree