Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Update graphdb-migrator README
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
dreglad committed Mar 10, 2022
1 parent 5b99f2b commit a7b715f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions graph-db/migrator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ Liquibase based migrator for Neo4j
To run migrations from Lifelike Docker registry latest image, you can run the following command:

```bash
# Update migrations
# Update using bundled changelog files
docker run --rm \
--env NEO4J_HOST=neo4j:7687 \
--env NEO4J_PASSWORD=password \
--env AZURE_ACCOUNT_STORAGE_NAME=lifelike \
--env AZURE_ACCOUNT_STORAGE_KEY=<storage-key> \
--env CHANGELOG_DIR=lifelike-graph
--env CHANGELOG_DIR=lifelike-graph \
ghcr.io/sbrg/lifelike-graphdb-migrator:latest

# Or you can run your own local changelog files by setting a volume mount
# pointing to your changelog directory by adding a `--volume` argument
docket run --rm \
--volume /path/to/my/changelog/dir:/liquibase/changelog \
# [... other arguments ...]
```

### Environment Variables
Expand Down

0 comments on commit a7b715f

Please sign in to comment.