Skip to content

Commit

Permalink
Merge pull request #44 from bilak/patch-1
Browse files Browse the repository at this point in the history
Updated volumes mounts
  • Loading branch information
r2-lf authored Nov 20, 2020
2 parents 51fa00e + 6da8eb7 commit 734d2f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The /liquibase/changelog volume can also be used for commands that write output,

#### Example

If you have a local `c:\projects\my-project\src\main\resources\com\example\changelogs\root.changelog.xml` file, you would run `docker run --rm -v c:\projects\my-project\src\main\resources:/liquibase/changelog --changeLogFile=com/example/root.changelog.xml update`
If you have a local `c:\projects\my-project\src\main\resources\com\example\changelogs\root.changelog.xml` file, you would run `docker run --rm -v c:\projects\my-project\src\main\resources:/liquibase/changelog --changeLogFile=com/example/changelogs/root.changelog.xml update`

## Configuration File

Expand All @@ -58,7 +58,7 @@ The Liquibase docker container ships with drivers for many popular databases. If

#### Example

If you have a local `c:\projects\my-project\lib\my-driver.jar` file, `docker run --rm -v c:\projects\my-project\src\main\resources:/liquibase/changelog -v c:\projects\my-project\lib:/liquibase/changelog:/liquibase/classpath --classpath=liquibase/changelog:liquibase/classpath/my-driver.jar update`
If you have a local `c:\projects\my-project\lib\my-driver.jar` file, `docker run --rm -v c:\projects\my-project\src\main\resources:/liquibase/changelog -v c:\projects\my-project\lib:/liquibase/classpath --classpath=liquibase/changelog:liquibase/classpath/my-driver.jar update`

## Complete Examples

Expand All @@ -79,7 +79,7 @@ liquibaseProLicenseKey=<PASTE LB PRO LICENSE KEY HERE>
```

*CLI:*
`docker run --rm -v <PATH TO CHANGELOG DIR>:/liquibase/changelog liquibase/liquibase --defaultsFile=/liquibase/changelogs/liquibase.docker.properties update`
`docker run --rm -v <PATH TO CHANGELOG DIR>:/liquibase/changelog liquibase/liquibase --defaultsFile=/liquibase/changelog/liquibase.docker.properties update`

#### Example JDBC Urls:

Expand Down

0 comments on commit 734d2f8

Please sign in to comment.