To run the API simple run the following command
docker run -p 8080:8080 brunocrt/hellogo
To test it, point your browser to the following URL:
http://localhost:8080/api/hello
You can also add a parameter:
http://localhost:8080/api/hello?param1=TestParameter
And also change the version, adding an environment variable VERSION=v2 export VERSION=v2 (on linux) set VERSION=v2 (on windows) and then restart the container
Content type
Image
Digest
Size
6.5 MB
Last updated
over 7 years ago
docker pull brunocrt/hellogo