Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

defaultbackend

A tiny, lightweight HTTP server that returns 200 OK for "/", health checks, and 501 Not Implemented for all other requests.

Configuration via the following environment variables (all are optional):

  • PORT (default: 8080) - the port to listen on
  • HEALTHCHECK (default: /health) - the URL that should return 200 OK

A pre-built image is published here https://gallery.ecr.aws/jritsema/defaultbackend

Usage

docker run -it --rm public.ecr.aws/jritsema/defaultbackend

Development

 Choose a make command to run

  vet           vet code
  test          run unit tests
  build         build a binary
  autobuild     auto build when source files change
  start         build and run local project
  dockerbuild   build project into a container image
  login         login to ecr public
  push          push container image to registry

About

An HTTP server that returns 200 OK for "/", health checks, and 501 Not Implemented for all other requests.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages