google / webrisk

Apache License 2.0
67 stars 34 forks source link

Adds support for running WebRisk Proxy Server as a container #23

Open pantuza opened 4 years ago

pantuza commented 4 years ago

Hi, folks.

This Pull Request tries to contribute adding the capability of running the WebRisk Proxy server as a Docker container. It has the following contributions:

This docker image allows two runtime environment variables:

I believe this contribution can help new comers or new users of the WebRisk API to get started and try it in their environments.


If you folks think this contribution makes sense to this project, I would suggest to automatically build this docker image in a regular and automated basis and make it available at Google DockerHub namespace.

With that, users could easily try the WebRisk Proxy Server by simply running:

$> docker run -p 8080:8080 -e WR_API_KEY=XXX google/webrisk

All the best, and thank you for this project.