bicycle-statistics/README.md

22 lines
549 B
Markdown
Raw Permalink Normal View History

# bicycle statistics
Observe `<infolder>` for `gpx` files and create a html statistics page based on it at `<outfolder>`.
## Build
```sh
docker build -t <image_name> .
```
## Run
```sh
docker run -d -v <infolder>:/bs_in -v <outfolder>:/bs_out --name <container_name> --restart always <image_name>
```
## Example
```sh
docker build -t bicycle_statistics_creator .
docker run -d -v /srv/nextcloud/data/tkl/files/Bicycle:/bs_in -v /srv/bicycle.blackfinn.de/data:/bs_out --name bicycle-statistics --restart always bicycle_statistics_creator
```