GithubHelp home page GithubHelp logo

kthouz / graphhopper-docker-image-push Goto Github PK

View Code? Open in Web Editor NEW

This project forked from israelhikingmap/graphhopper-docker-image-push

0.0 0.0 0.0 29 KB

Scripts to create and upload a docker image of graphhopper

License: MIT License

Shell 86.48% Dockerfile 13.52%

graphhopper-docker-image-push's Introduction

Graphhopper docker provider repository

This repository holds the very basic things in order to make sure there's an updated graphhopper docker image which we use in our production server. Images can be found here: https://hub.docker.com/r/israelhikingmap/graphhopper

I would like to first and foremost thank the graphhopper team for their hard work and amazing product! They are doing a great job and we are truly happy to help by contributing to thier code base like we had done in the past. Graphhopper team has decided not to build a docker image and this repository is here to bridge that gap. This repository is extremely simple, all it does is the following:

  1. Every night at 1 AM it builds the latest code using Github actions from the graphhopper repository and uploads the image to docker hub with the latest tag
  2. It checks if there's a new version tag, and if so builds it and upload it as well with the relevant tag
  3. Adds a graphhopper.sh file for ease of use

That's all.

Feel free to submit issues or pull requests if you would like to improve the code here

This docker image uses the following default environment setting:

JAVA_OPTS: "-Xmx1g -Xms1g"

For a quick startup you can run the following command to create the andorra routing:

docker run -p 8989:8989 israelhikingmap/graphhopper --url https://download.geofabrik.de/europe/andorra-latest.osm.pbf --host 0.0.0.0

Then surf to http://localhost:8989/

You can also completely override the entry point and use this for example:

docker run --entrypoint /bin/bash israelhikingmap/graphhopper -c "wget https://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf -O /data/berlin.osm.pbf && java -Ddw.graphhopper.datareader.file=/data/berlin.osm.pbf -Ddw.graphhopper.graph.location=berlin-gh -jar *.jar server config-example.yml"

Checkout graphhopper.sh for more usage options such as import.

In order to build the docker image locally, please run .github/build.sh.

graphhopper-docker-image-push's People

Contributors

harelm avatar zstadler avatar rkube-rvk avatar ilovesome1 avatar marisancans avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.