Skip to content

About

Simple HTTP server that prints environment variables and details about request

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

Simple HTTP server that prints all the environments variables on GET request together with information about the request.

This was useful for some Kubernetes ingress / service debugging, where I used it to get information about the Pod that served the request. Example Kuberentes manifest using StatefulSet is in k8s.yaml

Docker

Docker image for this repo is available on DockerHub: https://hub.docker.com/r/jstastny/envechoserver

Configuration

Optionally, HOST and PORT environment can be used to configure, which host and port the server should be listening at. The defaults are 0.0.0.0 for HOST and 3000 for PORT.

About

Simple HTTP server that prints environment variables and details about request

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages