Skip to content

bjrooney/docker-gs-ping

 
 

Repository files navigation

docker-gs-ping

This repo is forked from docker/docker-gs-ping and uses bitovi/[email protected] to push the created container to eks via helm.

dockerhub endpoint: https://hub.docker.com/repository/docker/bjrooney/docker-gs-ping

The helm charts can be found in the docker-gs-ping/actions-test folder which was created using helm create.

to test the deployment:

➜ ~ curl http://eks.topsoilsystems.com Hello, Docker! <3%

➜ ~ curl http://eks.topsoilsystems.com/health {"Status":"OK"}

Terraform to create the eks cluster is here: docker-gs-ping/eks_cluster

Github actions here:

.github/workflows

A simple Go server/microservice example for Docker's Go Language Guide.

Notable features:

  • Includes a multi-stage Dockerfile.
  • Has a CI pipeline using GitHub Actions to run tests.
  • Has a CD pipeline using GitHub Actions to publish to Docker Hub.

Want moar?!

There is a more advanced example in olliefr/docker-gs-ping-roach using CockroachDB.

Contributing

This was written for an introduction section of the Docker tutorial and as such it favours brevity and pedagogical clarity over robustness.

Thus, feedback is welcome, but please no nits or pedantry. Ain't nobody got time for that 🙃

License

Apache-2.0 License

About

A simple Go server example for Docker's "Getting Started with Docker and Go".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 37.6%
  • Smarty 29.3%
  • Go 22.5%
  • Dockerfile 10.6%