Skip to content

Commit

Permalink
docs: Add docker mount note
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Mar 8, 2021
1 parent 9bd065b commit dcd98a2
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions docs/install-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ If you have Docker, and if you do not want to develop or make changes to lbsntra
using our Dockerimage may be an option.

!!! note
The Docker Image is in an early stage. Input data is only
poissible through URL, from another database, or through
local bind mounting data (e.g. CSVs) into the container.
The Docker Image is in an early stage. Providing input data is only
possible through URL, from another database, or through
local bind mounting data (e.g. CSVs) into the container (see note at end).

You can use the latest Dockerimage to directly run lbsntransform in a container:

Expand Down Expand Up @@ -40,4 +40,20 @@ docker run \
--rm \
lbsntransform \
--version
```
```

## Mounting data

If you want to use custom mappings, or read data from CSV (etc.),
mount these external files on runtime into the container.

Example:
```bash
docker run \
--rm \
--volume $(pwd)/data.csv:/data/data.csv \
--volume $(pwd)/resources/mappings:/mappings \
lbsntransform \
--mappings_path /mappings/ \
...
```

0 comments on commit dcd98a2

Please sign in to comment.