Skip to content

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

Merged
merged 11 commits into from
Apr 12, 2024
Prev Previous commit
Next Next commit
Update liquibase/content.md to fix bad quotes
Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
  • Loading branch information
jandroav and tianon authored Apr 9, 2024
commit ddc68a3240ea776ca77a6f6fa6ee5e9f2cc3a4da
2 changes: 1 addition & 1 deletion liquibase/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $ liquibase update --driver=org.postgresql.Driver --url="jdbc:postgresql://<DATA
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>
$ docker run -v /home/user/changelog:/liquibase/changelog %%IMAGE%% --driver=org.postgresql.Driver --url="jdbc:postgresql://<DATABASE_IP>:<DATABASE_PORT>/<DATABASE>" --changeLogFile=/liquibase/changelog/changelog.xml --username=<USERNAME> --password=<PASSWORD>
```

All Liquibase commands, such as `rollback`, `updateSQL`, and others, are available, as well.