Skip to content

polybean/hello-go

Repository files navigation

Build the application image

./build-image.sh

Start the stack locally

docker-compose up -d

Testing using cURL

curl -i http://localhost:8080/hello
curl -i http://localhost:8080/version
curl -i http://localhost:8080/greetings

curl -i -X POST \
  -H "Content-type: application/json" \
  -d '{"message":"Hola"}' \
  http://localhost:8080/greetings

Push image to Docker Hub

docker login
docker push polybean/hello-go

docker tag polybean/hello-go polybean/hello-go:1.0
docker push polybean/hello-go:1.0

Clean up

docker-compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published