Problems with instructions

Hi
I am on a Ubuntu VM
I pulled the latest version of openrouteservices from github
I did a wget get get the latest version of docker-compose.yml
I tried following the instructions from here

And removed the commenting of the build part as was suggested and ran docker compose up

I got this error: /docker-compose.yml: yaml: line 2: did not find expected key

What key is missing?

And the ```

ORS_CONFIG: ./ors-api/src/main/resources/ors-config-sample.json

is not the the downloaded docker compose file

What am I doing wrong?

This should work

Found the problem. The build was not aligned correctly in the file.

But when running it using docker compose up the heidelberg file was not found
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Your specified OSM file does not exist:/home/ors/ors-core/data/osm_file.pbf

But the heidelberg file can be found in ./ors-api/src/test/files/heidelberg.osm.gz

This is the build part of the docker-compose.yml file
build:
context: ./
args:
OSM_FILE: ./ors-api/src/test/files/heidelberg.osm.gz

1 Like