docker run -p 8080:8080 -p 8082:8082 -t umbreak/marfeel-api
Once running, you can perform some curl tests against the docker.
curl -v -H "Content-Type: application/json" -X POST "http://localhost:8080/crawl" -d '[{ "url": "https://www.theguardian.com/international"}, { "url": "http://www.nytimes.com/"}, { "url": "http://www.bbc.com/ "}, { "url": "http://www.marca.com"}, { "url": "http://www.20minutos.es/madrid/"}, { "url": "http://dsdsf.com/"},{ "url": "http://www.nydailynews.com/"}, { "url": "http://edition.cnn.com/" } ]'
You may also want to access the H2 DB web console, to check the persistence data.
Content type
Image
Digest
Size
149 MB
Last updated
almost 10 years ago
docker pull umbreak/marfeel-api