Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker for the Geotriples Web-Service
Full Description

docker-geotriples-ws

This is a docker for running geotriples as a Web Service

Run the Dockerfile after building it:

$ docker run -p 9999:8080 <name_of_docker_image>

Check it through:

$ curl -X POST -d @<host_local_path_to_json_file>post_geo.json http://localhost:9999/geotriples/event -H "Content-Type:application/json" -H "Accept: application/json"

Where post_geo.json can be a .json file like:

{"id":"1","title":"brexit","eventDate":"2016-06-24T14:49:10+00:00","areas":[{"name":"Europe","geometry":{"type":"Polygon","coordinates":[[[-9.31640625,70.21190012321934],[27.94921875,70.21190012321934],[27.94921875,35.63229962401659],[-9.31640625,35.63229962401659],[-9.31640625,70.21190012321934]]]}}]}

In case of building a larger docker-compose.yml, add the existing docker-compose.yml and you'll have the geotriples service. Possible links with strabon may be required. Change port 9999 to whatever fits your installation.

Docker Pull Command
Owner
gioargyr
Source Repository