I’ve tried to run the ORS software as a docker. I cloned the master branch from git and followed instructions on the webpage. Unfortunately, when I tried to run the “docker compose up” after the start, no new files were created inside the folders—conf, elevation_cahche, graphs, and logs.
Is it possible that something is not up to date?
If needed, I can provide any additional info that might help locate the problem.
It seems like the problem is with mounted folders.
In docker-compose.yml the local folders are mounted to /home/ors/ folders, and it seems they are not entirely correctly connected. The files in ors-core and ors-conf seem to be unaffected by what is my ors-config.json
@amandus I checked the installation today.
It builds now correctly, but it’s still an incorrect folder path in the default docker_compose.yml.
The generated graphs are stored in the /ors_core/graphs instead of /ors_code/data/graphs.
I cannot see where the elevation_cache is stored, but it is not stored in the /ors_core/data/ekevation_cache nor /home/ors/ors_core/data/elevation_cache.
I can provide you with my docker_compose.yml or ors-config.json file if necessary.
After a few tries, I found out, that /graph folder is created in the non-volume folders. After trying to bind the /ors-core/graph folder to my local drive, the graph folder was created in the /home/ors/graph.
I use the whole map of Germany, so each time it takes quite some time to process it. Am I doing something wrong?
I’m running into this same issue. for testing purposes, i’m using the base installation from the git repo. none of the volumes are using the directories specified in the docker-compose.yml file. They are all being auto-mapped to volumes in /var/lib/docker/volumes. the default germany location is working fine, but it’s not reading my maps because of this issue.
EDIT:
i’m making progress… I had to pull the latest image with:
docker pull openrouteservice/openrouteservice
now my log is writing to the local directory again. I will update again later when and if I have it all working again