Sign inSign up

delbertooo/http-answer-all

By delbertooo

•Updated about 3 years ago

This is a tiny web-server answering any request with a status 200 OK.

Image
0

370

delbertooo/http-answer-all repository overview

⁠http-answer-all

This is a tiny web-server answering any request with a status 200 OK and a given response content (empty by default).

The content and content-type can be modified on a global basis.

⁠Usage

docker run --rm -p 8090:8090 delbertooo/http-answer-all

... and open your browser on http://localhost:8090/⁠. Or navigate to

⁠All available options

You can alter the configuration using environment variables:

docker run --rm -p 9090:9090 \
  -e 'APP_RESPONSE=console.log("hi");' \
  -e 'APP_CONTENT_TYPE=text/javascript' \
  -e 'APP_LISTEN_ADDR=:9090' \         
  delbertooo/http-answer-all

Tag summary

Content type

Image

Digest

sha256:a85fb3fa8…

Size

6.9 MB

Last updated

about 3 years ago

docker pull delbertooo/http-answer-all