Go to file
2020-01-08 11:51:11 +00:00
Dockerfile Update 'Dockerfile' 2020-01-08 11:51:11 +00:00
README.md bicycle-statistics: Initial commit 2018-07-26 15:37:25 +02:00
run.sh bicycle-statistics: Switch to alpine linux base image 2018-07-26 16:41:11 +02:00

bicycle statistics

Observe <infolder> for gpx files and create a html statistics page based on it at <outfolder>.

Build

docker build -t <image_name> .

Run

docker run -d  -v <infolder>:/bs_in -v <outfolder>:/bs_out --name <container_name> --restart always <image_name>

Example

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