Hi all,
I have a Centos 8 server with Docker version 20.10.16, build aa7e414 , docker-compose version 1.27.4, build 40524192 installed, I want to try openrouteservice Installation via Docker.
I have read documents
What I did:
- git clone sourcecode
- cd openrouteservice
- cd docker
- mkdir -p conf elevation_cache graphs logs/ors logs/tomcat
- docker-compose up -d
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
45572d05c8db openrouteservice/openrouteservice:latest “/bin/bash /ors-core…” 7 minutes ago Up 7 minutes 0.0.0.0:8080->8080/tcp, 0.0.0.0:9001->9001/tcp ors-app
docker logs ors-app
openrouteservice configuration
ors-config.json exists in ors-conf folder. Copy config to /ors-core/openrouteservice/src/main/resources/ors-config.json
Package openrouteservice and deploy to Tomcat
I cannot access to
“http://myserverIP:8080/ors/v2/status”
“http://myserverIP:8080/ors/v2/health”
I cannot telnet localhost or myserverIP 8080 , because tomcat in container not running, this is when I run
docker-compose up
Creating network “docker_default” with the default driver
Creating ors-app … done
Attaching to ors-app
ors-app | ### openrouteservice configuration ###
ors-app | No ors-config.json in ors-conf folder. Copy config from /ors-core/openrouteservice/src/main/resources/ors-config.json
ors-app | ### Package openrouteservice and deploy to Tomcat ###
(it hangs here forever)
Please give me some advice, thank you very much.