IsraelHikingMap/graphhopper-docker-image-push

How to use built in profiles

umar18 opened this issue · 7 comments

I have successfully deployed docker container on my Linux machine with default “car” profile. In the documentation: https://docs.graphhopper.com/#section/Map-Data-and-Routing-Profiles/OpenStreetMap, i can see multiple built in profile. Can i integrate multiple profiles ? How can i do that in docker run command ? I can see profile option with coma separated profiles but its not working. Here is the command:

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

You need to create/update the configuration file. It might be that the profiles flag is not supported anymore due to recent changes in graphhopper...
https://github.com/graphhopper/graphhopper/blob/e59b5dfe118b2bf7b3aa420a4695f139f40fbea9/config-example.yml

Can you share the container logs - it should log which profiles it is about to build according to the given configuration.

It is behaving oddly

image

This is not the logs I was expecting to see. What are the logs you are getting when simply running the container (not in a detached mode)?

Oh, you mean this one

image

Nope... The graphhopper container run log

No response... Closing...